Browse Source

style: Fix the upload error icon of the Upload component. The effective styles are different due to different css order (#2372)

YyumeiZhang 1 year ago
parent
commit
d269c8e935
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/semi-foundation/upload/upload.scss

+ 1 - 1
packages/semi-foundation/upload/upload.scss

@@ -247,7 +247,7 @@ $module: #{$prefix}-upload;
 
         &-icon {
             &-loading,
-            &-error {
+            &-error.#{$prefix}-icon {
                 font-size: $width-upload_file_card-icon;
                 margin-right: $spacing-upload_file_card_icon-marginRight;
             }