Skip to content

Commit

Permalink
Add a fit-content variant to box component.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Oct 12, 2023
1 parent a68a210 commit 4d54f78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/sass/components/box/_box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
border-color: var(--color-highlight);
}

&--fit {
width: fit-content;
}

&--inverted {
@extend %link-inverted;
background: var(--color-border);
Expand Down

0 comments on commit 4d54f78

Please sign in to comment.