Improve the flex-group component.
This commit is contained in:
parent
f7245000d0
commit
8e5f7c54c7
1 changed files with 23 additions and 16 deletions
|
|
@ -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'});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue