Skip to content

Commit f4643da

Browse files
committed
Use the shared spacing token for inline button glyphs
1 parent 7c1ac37 commit f4643da

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/sim/platform/design-system/components/button/button.shared.module.css‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,13 @@
4444
height: var(--spacing-24);
4545
}
4646
.iconButton[data-size="inline"] {
47-
--ui-glyph-size: var(--spacing-14);
4847
inline-size: var(--spacing-16);
4948
block-size: var(--spacing-16);
5049
}
50+
.iconButton[data-size="inline"] > svg {
51+
width: var(--spacing-14);
52+
height: var(--spacing-14);
53+
}
5154

5255
.chip {
5356
min-height: var(--spacing-app-chip);

0 commit comments

Comments
 (0)