forked from p96170835/amis
number 类型不能设置 size, 所以minWidth 无效,所以先多写点样式
This commit is contained in:
parent
f0f9e1d96e
commit
7411a15f99
|
@ -116,6 +116,11 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
||||||
|
// 非常难受,number 类型的 input 不能设置size
|
||||||
|
&.#{$ns}NumberControl {
|
||||||
|
width: $Form-control-widthXs;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}Form-control--sizeSm {
|
.#{$ns}Form-control--sizeSm {
|
||||||
|
@ -123,6 +128,11 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
||||||
|
// 非常难受,number 类型的 input 不能设置size
|
||||||
|
&.#{$ns}NumberControl {
|
||||||
|
width: $Form-control-widthSm;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}Form-control--sizeMd {
|
.#{$ns}Form-control--sizeMd {
|
||||||
|
@ -137,6 +147,11 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
||||||
|
// 非常难受,number 类型的 input 不能设置size
|
||||||
|
&.#{$ns}NumberControl {
|
||||||
|
width: $Form-control-widthLg;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}Form-item {
|
.#{$ns}Form-item {
|
||||||
|
|
Loading…
Reference in New Issue