From 7aeeec73afb64c2475c954879dc1886cd0d3f079 Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Mon, 11 Nov 2019 21:40:10 +0800 Subject: [PATCH] =?UTF-8?q?select=20=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scss/components/form/_select.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scss/components/form/_select.scss b/scss/components/form/_select.scss index 331a264a..f8fa5998 100644 --- a/scss/components/form/_select.scss +++ b/scss/components/form/_select.scss @@ -33,7 +33,7 @@ position: relative; flex-grow: 1; line-height: 1; - width: 0; // ! 没有这个会撑开。 + } &-placeholder { @@ -296,5 +296,9 @@ min-width: 100%; max-width: 100%; display: inline-flex !important; + + .#{$ns}Select-valueWrap { + width: 0; // ! 没有这个会撑开。 + } } } \ No newline at end of file