From ef0b7087f65898f5d46bb0a229f5382be5311ee0 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 21 Feb 2017 23:34:23 +0800 Subject: [PATCH] Fix slight difference placeholder between Input and Select close #4987 --- components/input/style/mixin.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index 786290cdd7..363d25d6f6 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -7,11 +7,13 @@ .input-lg() { padding: @input-padding-vertical-lg @input-padding-horizontal; height: @input-height-lg; + line-height: @input-height-lg; } .input-sm() { padding: @input-padding-vertical-sm @input-padding-horizontal; height: @input-height-sm; + line-height: @input-height-sm; } // input status @@ -46,7 +48,7 @@ height: @input-height-base; cursor: text; font-size: @font-size-base; - line-height: @line-height-base; + line-height: @input-height-base; color: @input-color; background-color: @input-bg; background-image: none;