src/styles/base.scss
@@ -71,7 +71,7 @@ default: var(--el-component-size-default), large: var(--el-component-size-large) ); $ws: (20px, 40px, 60px, 100px, 150px, 300px); $ws: (20, 40, 60, 80, 100, 120, 150, 300); @each $name, $value in $csize { .w-#{$name} { width: #{$value}; @@ -82,10 +82,10 @@ } @each $i in $ws { .w-#{$i} { width: #{$i}; width: #{$i}px; } .h-#{$i} { height: #{$i}; height: #{$i}px; } }