From 80079d9802dd2445820b112fe818d61e1cc21c6f Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 15 五月 2024 18:08:03 +0800
Subject: [PATCH] 修复bug

---
 src/styles/base.scss |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/styles/base.scss b/src/styles/base.scss
index 4347524..8e29e01 100644
--- a/src/styles/base.scss
+++ b/src/styles/base.scss
@@ -38,7 +38,7 @@
   r: 'right',
   b: 'bottom'
 );
-$size: (4, 8, 10, 16);
+$size: (2, 4, 8, 10, 16);
 @each $dName, $dValue in $direction {
   @each $i in $size {
     .p-#{$dName}-#{$i} {
@@ -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, 50, 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;
   }
 }
 

--
Gitblit v1.9.3