修改宽度设置

This commit is contained in:
liaoxuezhi 2019-12-06 22:24:02 +08:00
parent 8c848613e7
commit 43d4451142

View File

@ -103,29 +103,31 @@
@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; // width: auto;
width: $Form-control-widthXs;
max-width: 100%;
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; width: $Form-control-widthSm;
width: auto; max-width: 100%;
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; width: $Form-control-widthMd;
width: auto; max-width: 100%;
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; width: $Form-control-widthLg;
width: auto; max-width: 100%;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }