Skip to content

Commit 5a84d11

Browse files
committed
fix: button border styling
1 parent e98e32f commit 5a84d11

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/_patterns/01-elements/buttons/button.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.elm-button {
66
border: 1px solid transparent;
77
border-radius: 4px;
8-
padding: to-rem($pxValue: 7) to-rem($pxValue: 16);
8+
padding: to-rem($pxValue: 8) to-rem($pxValue: 16);
99

1010
&[data-icon],
1111
&[data-icon-before] {
@@ -38,7 +38,6 @@
3838

3939
&%variant-brand-primary,
4040
&%variant-primary {
41-
box-shadow: 0 0 0 1px transparent;
4241
color: $button---color;
4342
}
4443

@@ -77,7 +76,7 @@
7776

7877
&%variant-secondaryOutline {
7978
background-color: transparent;
80-
box-shadow: 0 0 0 1px $db-color-cool-gray-700;
79+
border-color: $db-color-cool-gray-700;
8180
color: $db-color-cool-gray-700;
8281

8382
// TODO: This might get replaced by another effect

0 commit comments

Comments
 (0)