style:纠正一些公共样式错误。

This commit is contained in:
徐涛 2021-04-26 09:07:52 +08:00
parent 47d882ce81
commit fcaf9f84b7

View File

@ -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: {