From 5425d8451ec6b31a4782ea0ee633baf2145907f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Tue, 11 Feb 2020 17:48:36 +0800 Subject: [PATCH] fix input lg height issue (#21338) --- components/style/themes/default.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 84c258f537..93d1310a16 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -347,7 +347,7 @@ ) / 10 - @border-width-base; @input-padding-vertical-sm: round((@input-height-sm - @font-size-base * @line-height-base) / 2 * 10) / 10 - @border-width-base; -@input-padding-vertical-lg: round((@input-height-lg - @font-size-lg * @line-height-base) / 2 * 10) / +@input-padding-vertical-lg: ceil((@input-height-lg - @font-size-lg * @line-height-base) / 2 * 10) / 10 - @border-width-base; @input-placeholder-color: hsv(0, 0, 75%); @input-color: @text-color;