整合样式,BUG 59

This commit is contained in:
aixianling
2023-03-08 09:33:10 +08:00
parent 5a43d51436
commit cc748e1c99
7 changed files with 40 additions and 22 deletions

View File

@@ -17,11 +17,20 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
/**
常用内外边距样式
*/
@each $v in (8, 10, 16, 20, 32, 48, 56, 64, 80) {
@each $v in (333, 666, 888, 999, '26f', 'f46') {
.color-#{$v} {
color: \##{$v};
}
}
@each $v in (8, 10, 12, 14, 16, 20, 32, 48, 56, 64, 80) {
//gap
.gap-#{$v} {
gap: #{$v}px
}
.font-#{$v} {
font-size: #{$v}px;
}
@each $padMar, $pm in (mar:margin, pad:padding) {
.#{$padMar}-#{$v} {
#{$pm}: #{$v}px
@@ -58,7 +67,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
/**
不换行文本
*/
.nowarp-text {
.nowrap-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;