move @form-item-label-height from form styles to theme variables (#22600)

This commit is contained in:
Vyacheslav Kamenev 2020-03-25 15:19:48 +02:00 committed by GitHub
parent 5e8cef7045
commit fbdfd4afc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,6 @@
@form-prefix-cls: ~'@{ant-prefix}-form';
@form-item-prefix-cls: ~'@{form-prefix-cls}-item';
@form-font-height: ceil(@font-size-base * @line-height-base);
@form-item-label-height: @input-height-base;
.@{form-prefix-cls} {
.reset-component;

View File

@ -331,6 +331,7 @@
@form-vertical-label-padding: 0 0 8px;
@form-vertical-label-margin: 0;
@form-item-label-font-size: @font-size-base;
@form-item-label-height: @input-height-base;
@form-item-label-colon-margin-right: 8px;
@form-item-label-colon-margin-left: 2px;
@form-error-input-bg: @input-bg;