Skip to content

Commit a2c53e7

Browse files
committed
fix button icon styling
1 parent 686d4e4 commit a2c53e7

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

src/features/common/components/card-toolbar-button/card-toolbar-button.module.scss

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,25 @@
88
}
99
}
1010
.button__standard {
11-
gap: 0.75rem;
12-
border: none;
13-
border-radius: 0.25rem;
11+
gap: .75rem;
12+
border-radius: .5rem;
1413
color: var(--color_fg_on_button_subtle);
15-
font-variant-numeric: slashed-zero;
16-
font-feature-settings:
17-
"clig" off,
18-
"liga" off;
14+
z-index: 2;
1915
background-color: transparent;
2016
text-transform: uppercase;
2117
cursor: pointer;
22-
letter-spacing: 0.2px;
18+
padding: .75rem;
19+
letter-spacing: .2px;
2320
appearance: none;
2421
display: flex;
2522
align-items: center;
23+
justify-content: center;
24+
border: 1px solid transparent;
25+
transition: all .2s ease-out;
26+
width: 2rem;
27+
height: 2rem;
28+
font-size: .875rem;
29+
line-height: 1.375rem;
2630

2731
&[aria-disabled="true"] {
2832
opacity: 0.48;
@@ -42,11 +46,11 @@
4246
line-height: 1.375rem;
4347

4448
&[data-style="compact"] {
45-
padding: 0.125rem 0.375rem;
46-
width: unset;
47-
height: unset;
48-
font-size: 0.75rem;
49-
line-height: 1.25rem;
49+
padding: .25rem;
50+
width: 2rem;
51+
height: 2rem;
52+
font-size: .8125rem;
53+
line-height: 1.35;
5054
}
5155

5256
svg {

0 commit comments

Comments
 (0)