mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
修改宽度设置
This commit is contained in:
parent
8c848613e7
commit
43d4451142
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user