vendor: amis 6.13.0 base (fork root)
This commit is contained in:
28
packages/amis-ui/scss/helper/flex/_grow.scss
Normal file
28
packages/amis-ui/scss/helper/flex/_grow.scss
Normal file
@@ -0,0 +1,28 @@
|
||||
/*!markdown
|
||||
|
||||
---
|
||||
title: Flex Grow
|
||||
---
|
||||
|
||||
| Class | Properties |
|
||||
| ----------- | ------------------------ |
|
||||
| flex-grow-0 | flex-grow: 0 |
|
||||
| flex-grow | flex-grow: 1 |
|
||||
|
||||
|
||||
*/
|
||||
@mixin make-flex-grow($prefix: '.') {
|
||||
#{$prefix}flex-grow-0 {
|
||||
flex-grow: 0;
|
||||
}
|
||||
#{$prefix}flex-grow {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@include make-flex-grow();
|
||||
@each $deivce in map-keys($devices) {
|
||||
@include media-device($deivce) {
|
||||
@include make-flex-grow('.' + selector-escape($deivce + ':'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user