Add a fit-content variant to box component.
This commit is contained in:
parent
a68a2104c6
commit
4d54f7877a
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,10 @@
|
|||
border-color: var(--color-highlight);
|
||||
}
|
||||
|
||||
&--fit {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
&--inverted {
|
||||
@extend %link-inverted;
|
||||
background: var(--color-border);
|
||||
|
|
|
|||
Loading…
Reference in a new issue