✨(react) add button with icon only
Previously using Button with only an icon made it render with an internal offset, that wasn't really nice-looking. Now we force the button to be squared.
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
font-size: var(--c--components--button--font-size);
|
||||
font-weight: var(--c--components--button--font-weight);
|
||||
|
||||
&--icon-only {
|
||||
padding: 0;
|
||||
width: var(--c--components--button--height);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&--with-icon--left, &--with-icon--right {
|
||||
gap: var(--c--theme--spacings--t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user