From d9d85a7c720b0bd15d465a86247e766a5b712641 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 29 Feb 2020 11:38:37 +0800 Subject: [PATCH] feat(Field): input inherit line-height (#5737) --- src/field/index.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/field/index.less b/src/field/index.less index f035a528c..2d1875814 100644 --- a/src/field/index.less +++ b/src/field/index.less @@ -33,6 +33,7 @@ margin: 0; padding: 0; color: @field-input-text-color; + line-height: inherit; text-align: left; background-color: transparent; border: 0; @@ -44,10 +45,10 @@ &:disabled { color: @field-input-disabled-text-color; - -webkit-text-fill-color: currentColor; // fix disabled color in iOS background-color: transparent; cursor: not-allowed; opacity: 1; + -webkit-text-fill-color: currentColor; // fix disabled color in iOS } &:read-only {