修复 textarea 设置 size 无效的问题

This commit is contained in:
liaoxuezhi 2019-05-01 00:50:51 +08:00
parent 7db7255e91
commit fb540e271f
1 changed files with 4 additions and 0 deletions

View File

@ -103,24 +103,28 @@
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
.#{$ns}Form-control--sizeXs { .#{$ns}Form-control--sizeXs {
min-width: $Form-control-widthXs; min-width: $Form-control-widthXs;
width: auto;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }
.#{$ns}Form-control--sizeSm { .#{$ns}Form-control--sizeSm {
min-width: $Form-control-widthSm; min-width: $Form-control-widthSm;
width: auto;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }
.#{$ns}Form-control--sizeMd { .#{$ns}Form-control--sizeMd {
min-width: $Form-control-widthMd; min-width: $Form-control-widthMd;
width: auto;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }
.#{$ns}Form-control--sizeLg { .#{$ns}Form-control--sizeLg {
min-width: $Form-control-widthLg; min-width: $Form-control-widthLg;
width: auto;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }