Skip to content

Commit

Permalink
fix(Upload): fix upload image error style
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed May 14, 2024
1 parent e398021 commit 108709d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions style/web/components/upload/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
font: @upload-list-item-font-size;

&.@{prefix}-is--error {

.@{prefix}-upload__list-name {
color: @upload-list-item-error-color;
}
Expand Down Expand Up @@ -150,7 +149,6 @@
}

&.@{prefix}-is--error {

& .@{prefix}-icon-warning_fill {
color: @upload-card-item-error-icon-warning-color;
margin-bottom: @upload-card-item-error-icon-warning-margin-bottom;
Expand Down Expand Up @@ -478,6 +476,13 @@
align-items: center;
justify-content: center;
flex-shrink: 0;
> .@{prefix}-image__wrapper--shape-square {
width: 100%;

.@{prefix}-space-item {
text-align: center;
}
}

> img {
max-width: 100%;
Expand Down

0 comments on commit 108709d

Please sign in to comment.