Improve the flex-group component.

This commit is contained in:
Fredrik Jonsson 2024-01-30 19:36:44 +01:00
commit 8e5f7c54c7

View file

@ -1,4 +1,3 @@
@mixin flex($c, $x) {
flex-basis: calc(100% / #{$c} - #{$x * $base-line-height + 'rem'});
flex-grow: 0;
@mixin flex($col, $gap) {
flex-basis: calc(100% / #{$col} - #{$gap * $base-line-height + 'rem'});
}