diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index 786290cdd..363d25d6f 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;