From fb540e271fb85c11e7ac043dc30068aba363f08f Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Wed, 1 May 2019 00:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20textarea=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=20size=20=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scss/components/form/_form.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scss/components/form/_form.scss b/scss/components/form/_form.scss index 63509a00..528a593a 100644 --- a/scss/components/form/_form.scss +++ b/scss/components/form/_form.scss @@ -103,24 +103,28 @@ @include media-breakpoint-up(sm) { .#{$ns}Form-control--sizeXs { min-width: $Form-control-widthXs; + width: auto; display: inline-block; vertical-align: top; } .#{$ns}Form-control--sizeSm { min-width: $Form-control-widthSm; + width: auto; display: inline-block; vertical-align: top; } .#{$ns}Form-control--sizeMd { min-width: $Form-control-widthMd; + width: auto; display: inline-block; vertical-align: top; } .#{$ns}Form-control--sizeLg { min-width: $Form-control-widthLg; + width: auto; display: inline-block; vertical-align: top; }