Skip to content

Commit

Permalink
fix: Form.Upload's unexpected error outline Occlusion
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLynn committed Aug 26, 2024
1 parent 8063f28 commit 500dee5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/semi-foundation/upload/upload.scss
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ $module: #{$prefix}-upload;
height: $height-upload_file_pic_card;
width: $width-upload_file_pic_card;
border-radius: $radius-upload_picture_file_card_img;
box-sizing: border-box;
position: relative;
overflow: hidden;

Expand Down Expand Up @@ -475,6 +476,7 @@ $module: #{$prefix}-upload;

&-error {
border: 1px solid $color-upload_picture_file_card_error-border;
outline: 1px solid $color-upload_picture_file_card_error-border;
}

&:hover {
Expand Down

0 comments on commit 500dee5

Please sign in to comment.