From f1fd3fa78c0ea8a5568c584b282d7550de4a628b Mon Sep 17 00:00:00 2001 From: chaishi <974383157@qq.com> Date: Sun, 13 Aug 2023 13:53:08 +0800 Subject: [PATCH 1/2] feat(web): input hide input width --- style/web/components/input/_index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/style/web/components/input/_index.less b/style/web/components/input/_index.less index a661c084ae..6660189f2a 100644 --- a/style/web/components/input/_index.less +++ b/style/web/components/input/_index.less @@ -65,6 +65,10 @@ &[type="search"]::-webkit-search-results-decoration { appearance: none; } + + &.@{prefix}-input--soft-hidden { + width: 0px; + } } // 底部的额外消息 &__extra { From 8e6f1d259abc39f9396e8022d57bd8c7f90ba8d2 Mon Sep 17 00:00:00 2001 From: chaishi <974383157@qq.com> Date: Sun, 13 Aug 2023 14:09:02 +0800 Subject: [PATCH 2/2] fix(web): 0px to 0 --- style/web/components/input/_index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/web/components/input/_index.less b/style/web/components/input/_index.less index 6660189f2a..9283656bd3 100644 --- a/style/web/components/input/_index.less +++ b/style/web/components/input/_index.less @@ -67,7 +67,7 @@ } &.@{prefix}-input--soft-hidden { - width: 0px; + width: 0; } } // 底部的额外消息