mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 10:59:42 +08:00
优化 form 样式
This commit is contained in:
parent
8ae7d0bdb4
commit
947372642c
@ -254,6 +254,7 @@
|
||||
> .#{$ns}Form-label {
|
||||
padding-top: var(--Form-label-paddingTop);
|
||||
margin-bottom: 0;
|
||||
flex-shrink: 0;
|
||||
|
||||
.#{$ns}Form-star {
|
||||
position: absolute;
|
||||
|
@ -312,24 +312,13 @@ addSchemaFilter(function (scheam: Schema, renderer) {
|
||||
]
|
||||
};
|
||||
} else if (item.type) {
|
||||
let {
|
||||
xs,
|
||||
sm,
|
||||
md,
|
||||
lg,
|
||||
columnClassName,
|
||||
mode,
|
||||
horizontal,
|
||||
...rest
|
||||
} = item;
|
||||
let {xs, sm, md, lg, columnClassName, ...rest} = item;
|
||||
item = {
|
||||
xs,
|
||||
sm,
|
||||
md,
|
||||
lg,
|
||||
columnClassName,
|
||||
mode,
|
||||
horizontal,
|
||||
body: [rest]
|
||||
};
|
||||
}
|
||||
@ -357,8 +346,6 @@ addSchemaFilter(function (scheam: Schema, renderer) {
|
||||
height,
|
||||
style,
|
||||
columnClassName,
|
||||
mode,
|
||||
horizontal,
|
||||
visible,
|
||||
visibleOn,
|
||||
...rest
|
||||
@ -369,8 +356,6 @@ addSchemaFilter(function (scheam: Schema, renderer) {
|
||||
height,
|
||||
style,
|
||||
columnClassName,
|
||||
mode,
|
||||
horizontal,
|
||||
visible,
|
||||
visibleOn,
|
||||
body: [rest]
|
||||
|
Loading…
Reference in New Issue
Block a user