mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-10 11:03:19 +08:00
Fix slight vertical position difference in chrome, close #4987
This commit is contained in:
parent
7181e3c9e8
commit
5b20a5fc3e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user