refactor: add @form-item-label-colon-margin-{right,left} (#15478)

This commit is contained in:
willc001 2019-10-14 14:52:23 +08:00 committed by 偏右
parent f7c37e5509
commit 4e1bbccd54
2 changed files with 3 additions and 1 deletions

View File

@ -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 {

View File

@ -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