From fbdfd4afc0d7b3fa6b9704e6a237af3d9b72b84b Mon Sep 17 00:00:00 2001 From: Vyacheslav Kamenev Date: Wed, 25 Mar 2020 15:19:48 +0200 Subject: [PATCH] move @form-item-label-height from form styles to theme variables (#22600) --- components/form/style/index.less | 1 - components/style/themes/default.less | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/style/index.less b/components/form/style/index.less index 8f7b25e882..6484956267 100644 --- a/components/form/style/index.less +++ b/components/form/style/index.less @@ -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; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 2c5c8ea0d0..915630a697 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -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;