Fix slight vertical position difference in chrome, close #4987

This commit is contained in:
afc163 2017-02-22 17:48:58 +08:00
parent 7181e3c9e8
commit 5b20a5fc3e

View File

@ -17,3 +17,10 @@
.@{ant-prefix}-input-preSuffix-wrapper {
.input-preSuffix-wrapper(~"@{ant-prefix}-input");
}
// chrome only hack, fix https://github.com/ant-design/ant-design/issues/4987
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
.@{ant-prefix}-input {
line-height: inherit;
}
}