mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
优化 inline 样式
This commit is contained in:
parent
ebb4b298aa
commit
f77f2cc3ec
@ -23,6 +23,7 @@
|
||||
|
||||
.#{$ns}Form-item--inline > .#{$ns}Form-value > & {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
@ -73,9 +74,6 @@
|
||||
}
|
||||
|
||||
.#{$ns}Form--inline > &--inline {
|
||||
margin-bottom: $Form-item-gap/2;
|
||||
margin-right: $Form-item-gap/2;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
@ -87,6 +85,11 @@
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
&--inline {
|
||||
margin-bottom: $Form-item-gap/2;
|
||||
margin-right: $Form-item-gap/2;
|
||||
}
|
||||
|
||||
&--horizontal {
|
||||
> .#{$ns}Form-label {
|
||||
text-align: $Form--horizontal-label-align;
|
||||
|
Loading…
Reference in New Issue
Block a user