feat(Field): input inherit line-height (#5737)

This commit is contained in:
chenjiahan 2020-02-29 11:38:37 +08:00
parent b3b46cde45
commit d9d85a7c72

View File

@ -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 {