From 108709de9bca5a5e0e03e289b9eead3af53e4c3c Mon Sep 17 00:00:00 2001 From: Uyarn Date: Wed, 15 May 2024 00:30:25 +0800 Subject: [PATCH] fix(Upload): fix upload image error style --- style/web/components/upload/_index.less | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/style/web/components/upload/_index.less b/style/web/components/upload/_index.less index 4b1f4b4f67..29926c28b1 100644 --- a/style/web/components/upload/_index.less +++ b/style/web/components/upload/_index.less @@ -71,7 +71,6 @@ font: @upload-list-item-font-size; &.@{prefix}-is--error { - .@{prefix}-upload__list-name { color: @upload-list-item-error-color; } @@ -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; @@ -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%;