🐛 Fix Input line height in IE (#17759)

close #17753
This commit is contained in:
偏右 2019-07-20 20:01:51 +08:00 committed by GitHub
parent 5a32990874
commit b8485ca744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,12 +9,14 @@
padding: @input-padding-vertical-lg @input-padding-horizontal-lg;
font-size: @font-size-lg;
line-height: @input-height-lg;
line-height: ~'@{line-height-base} \9'; // https://github.com/ant-design/ant-design/issues/17753
}
.input-sm() {
height: @input-height-sm;
padding: @input-padding-vertical-sm @input-padding-horizontal-sm;
line-height: @input-height-sm;
line-height: ~'@{line-height-base} \9'; // https://github.com/ant-design/ant-design/issues/17753
}
// input status
@ -52,6 +54,7 @@
color: @input-color;
font-size: @font-size-base;
line-height: @input-height-base;
line-height: ~'@{line-height-base} \9'; // https://github.com/ant-design/ant-design/issues/17753
background-color: @input-bg;
background-image: none;
border: @border-width-base @border-style-base @input-border-color;