style:纠正一些公共样式错误。
This commit is contained in:
parent
47d882ce81
commit
fcaf9f84b7
|
@ -59,16 +59,19 @@
|
|||
fit: fit-content;
|
||||
};
|
||||
each(@special-basis, {
|
||||
&.w-@{key}-@{media} {
|
||||
.b-@{key}-@{media} {
|
||||
flex-basis: @value;
|
||||
}
|
||||
});
|
||||
@basis-percent: 2, 3, 4, 5, 8, 10, 12, 16, 20, 24;
|
||||
each(@basis-percent, .(@max) {
|
||||
each(range(1, @max), .(@i) {
|
||||
&.w-@{i}-@{max}-@{media} {
|
||||
.b-@{i}-@{max}-@{media} {
|
||||
flex-basis: percentage(@i / @max);
|
||||
}
|
||||
.w-@{i}-@{max}-@{media} {
|
||||
width: percentage(@i / @max);
|
||||
}
|
||||
});
|
||||
});
|
||||
@wrap-modes: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user