mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
refactor: add @form-item-label-colon-margin-{right,left} (#15478)
This commit is contained in:
parent
f7c37e5509
commit
4e1bbccd54
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -0.5px;
|
top: -0.5px;
|
||||||
margin: 0 8px 0 2px;
|
margin: 0 @form-item-label-colon-margin-right 0 @form-item-label-colon-margin-left;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.@{form-prefix-cls}-item-no-colon::after {
|
&.@{form-prefix-cls}-item-no-colon::after {
|
||||||
|
@ -302,6 +302,8 @@
|
|||||||
@form-item-trailing-colon: true;
|
@form-item-trailing-colon: true;
|
||||||
@form-vertical-label-padding: 0 0 8px;
|
@form-vertical-label-padding: 0 0 8px;
|
||||||
@form-vertical-label-margin: 0;
|
@form-vertical-label-margin: 0;
|
||||||
|
@form-item-label-colon-margin-right: 8px;
|
||||||
|
@form-item-label-colon-margin-left: 2px;
|
||||||
@form-error-input-bg: @input-bg;
|
@form-error-input-bg: @input-bg;
|
||||||
|
|
||||||
// Input
|
// Input
|
||||||
|
Loading…
Reference in New Issue
Block a user