mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
refactor: inputTable内组件最小宽度优化
This commit is contained in:
parent
5402322231
commit
30d6dc402e
@ -262,8 +262,13 @@
|
|||||||
|
|
||||||
& > .#{$ns}Form,
|
& > .#{$ns}Form,
|
||||||
& > .#{$ns}Form-item > .#{$ns}Form-control:not(.is-thin) {
|
& > .#{$ns}Form-item > .#{$ns}Form-control:not(.is-thin) {
|
||||||
// todo 优化这个,有些表单项宽度其实是很小的比如 switch,button,checkbox,radio
|
|
||||||
min-width: var(--Form-control-widthBase);
|
min-width: var(--Form-control-widthBase);
|
||||||
|
|
||||||
|
&.#{$ns}CheckboxControl,
|
||||||
|
&.#{$ns}SwitchControl,
|
||||||
|
&.#{$ns}RadiosControl {
|
||||||
|
min-width: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}Form-static {
|
.#{$ns}Form-static {
|
||||||
|
Loading…
Reference in New Issue
Block a user