From 08889d8a4e8eb4de9cf0f0a60fb3ff6cb27a9cdb Mon Sep 17 00:00:00 2001 From: yupeng12 Date: Thu, 14 Mar 2024 15:19:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20issue:9755:inputGroup=E4=B8=8BinputText?= =?UTF-8?q?=20icon=20=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-ui/scss/components/form/_text.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/amis-ui/scss/components/form/_text.scss b/packages/amis-ui/scss/components/form/_text.scss index ff6377219..25a9026f5 100644 --- a/packages/amis-ui/scss/components/form/_text.scss +++ b/packages/amis-ui/scss/components/form/_text.scss @@ -1,10 +1,6 @@ .#{$ns}TextControl { @include input-text(); - .InputText-clear { - content: var(--input-clearable-icon); - } - &-clear { padding: 0 var(--Form-input-clearBtn-padding); } @@ -496,6 +492,10 @@ } } +.InputText-clear.icon { + content: var(--input-clearable-icon); +} + // 特殊处理 input-password。否则 form 内联模式,icon 会换行 input.#{$ns}TextControl-input-password { flex-basis: 0;