Skip to content

Commit 4600917

Browse files
committed
fix(Button): update minimum width for medium button
1 parent 6c3bbd8 commit 4600917

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Button/Button.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
}
8383

8484
.button--size-md {
85-
min-width: calc(var(--eds-spacing-size-7-and-half) * 1px);
85+
min-width: calc(var(--eds-spacing-size-8) * 1px);
8686
max-width: calc(var(--eds-spacing-size-32) * 1px);
8787
min-height: calc(var(--eds-spacing-size-4) * 1px);
8888
max-height: calc(var(--eds-spacing-size-4) * 1px);

src/design-tokens/core-tokens.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@
641641
"7-and-half": {
642642
"value": "60",
643643
"group": "size",
644-
"comment": "Pixels (px) - can convert to Relative EMs (rem)"
644+
"comment": "Pixels (px) - can convert to Relative EMs (rem) @deprecated This should not be used in code or design. It will be removed in a future version of EDS."
645645
},
646646
"8": {
647647
"value": "64",

0 commit comments

Comments
 (0)