From bbbc38de7e0c4514342392b9f0550188cffbe1a7 Mon Sep 17 00:00:00 2001 From: sheepluo Date: Tue, 17 Oct 2023 16:08:53 +0800 Subject: [PATCH 1/2] fix(Input): minWidth --- style/web/components/input/_index.less | 1 + 1 file changed, 1 insertion(+) diff --git a/style/web/components/input/_index.less b/style/web/components/input/_index.less index 9283656bd3..22389d76c8 100644 --- a/style/web/components/input/_index.less +++ b/style/web/components/input/_index.less @@ -68,6 +68,7 @@ &.@{prefix}-input--soft-hidden { width: 0; + min-width: 0; } } // 底部的额外消息 From 06addbc3719f6540355a69e0b9dfe19cbf3d73fc Mon Sep 17 00:00:00 2001 From: sheepluo Date: Tue, 17 Oct 2023 16:12:28 +0800 Subject: [PATCH 2/2] fix(TagInput): input min-width --- style/web/components/input/_index.less | 1 - style/web/components/tag-input/_index.less | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/style/web/components/input/_index.less b/style/web/components/input/_index.less index 22389d76c8..9283656bd3 100644 --- a/style/web/components/input/_index.less +++ b/style/web/components/input/_index.less @@ -68,7 +68,6 @@ &.@{prefix}-input--soft-hidden { width: 0; - min-width: 0; } } // 底部的额外消息 diff --git a/style/web/components/tag-input/_index.less b/style/web/components/tag-input/_index.less index b76c33e058..072269f3b0 100644 --- a/style/web/components/tag-input/_index.less +++ b/style/web/components/tag-input/_index.less @@ -51,7 +51,7 @@ &:hover, .@{prefix}-input--focused { - .@{prefix}-input__inner { + .@{prefix}-input__inner:not(.@{prefix}-input--soft-hidden) { min-width: 20px; } }