Skip to content

Commit 2276f65

Browse files
authored
fix: make button inline (#1287)
* 💄 Make button inline element * 🚧 Bump
1 parent 3e0d868 commit 2276f65

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@equinor/amplify-component-lib",
3-
"version": "13.1.0",
3+
"version": "13.1.1",
44
"description": "Frontend Typescript components for the Amplify team",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/molecules/Button/Button.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const resolveBorderColor = (tokens: {
1717
}) => ('borderColor' in tokens ? tokens.borderColor : tokens.backgroundColor);
1818

1919
export const ButtonPrimitive = styled.button<ButtonStyles>`
20-
display: grid;
20+
display: inline-grid;
2121
grid-auto-flow: column;
2222
grid-template-columns: auto;
2323

0 commit comments

Comments
 (0)