Преглед изворни кода

Merge pull request #3023 from DouyinFE/style/tag

style: Modify addition style in CSS
SudoUser пре 2 недеља
родитељ
комит
3221f35d5f
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      packages/semi-foundation/tag/tag.scss

+ 4 - 4
packages/semi-foundation/tag/tag.scss

@@ -139,7 +139,7 @@ $types: "ghost", "solid", "light";
     &-avatar-circle.#{$module}-small,
     &-avatar-circle.#{$module}-default {
         // when avatarShape=circle change tag border radius
-        border-radius: $height-tag_small * 0.5 + 1;
+        border-radius: $height-tag_small * 0.5 + 1px;
 
         .#{$prefix}-avatar {
             width: $width-tag_avatar_circle_small;
@@ -148,7 +148,7 @@ $types: "ghost", "solid", "light";
     }
 
     &-avatar-circle.#{$module}-large {
-        border-radius: $height-tag_large * 0.5 + 1;
+        border-radius: $height-tag_large * 0.5 + 1px;
 
         .#{$prefix}-avatar {
             width: $width-tag_avatar_circle_large;
@@ -182,10 +182,10 @@ $types: "ghost", "solid", "light";
     }
 
     &-max.#{$module}-group-small {
-        height: ($height-tag_small + 2);
+        height: ($height-tag_small + 2px);
     }
     &-max.#{$module}-group-large {
-        height: ($height-tag_large + 2);
+        height: ($height-tag_large + 2px);
     }
     // &-small {
     //     height: ($height-tag_small + 2);