修改宽度设置

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) {
.#{$ns}Form-control--sizeXs {
min-width: $Form-control-widthXs;
width: auto;
// min-width: $Form-control-widthXs;
// width: auto;
width: $Form-control-widthXs;
max-width: 100%;
display: inline-block;
vertical-align: top;
}
.#{$ns}Form-control--sizeSm {
min-width: $Form-control-widthSm;
width: auto;
width: $Form-control-widthSm;
max-width: 100%;
display: inline-block;
vertical-align: top;
}
.#{$ns}Form-control--sizeMd {
min-width: $Form-control-widthMd;
width: auto;
width: $Form-control-widthMd;
max-width: 100%;
display: inline-block;
vertical-align: top;
}
.#{$ns}Form-control--sizeLg {
min-width: $Form-control-widthLg;
width: auto;
width: $Form-control-widthLg;
max-width: 100%;
display: inline-block;
vertical-align: top;
}