mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 04:28:32 +08:00
number 类型不能设置 size, 所以minWidth 无效,所以先多写点样式
This commit is contained in:
parent
207e286e37
commit
066d7a23c3
@ -116,6 +116,11 @@
|
||||
max-width: 100%;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
|
||||
// 非常难受,number 类型的 input 不能设置size
|
||||
&.#{$ns}NumberControl {
|
||||
width: $Form-control-widthXs;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$ns}Form-control--sizeSm {
|
||||
@ -123,6 +128,11 @@
|
||||
max-width: 100%;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
|
||||
// 非常难受,number 类型的 input 不能设置size
|
||||
&.#{$ns}NumberControl {
|
||||
width: $Form-control-widthSm;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$ns}Form-control--sizeMd {
|
||||
@ -137,6 +147,11 @@
|
||||
max-width: 100%;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
|
||||
// 非常难受,number 类型的 input 不能设置size
|
||||
&.#{$ns}NumberControl {
|
||||
width: $Form-control-widthLg;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$ns}Form-item {
|
||||
|
Loading…
Reference in New Issue
Block a user