fix: Input clear icon align problem (#18151)

* 🐛 Fix Input clear icon align problem

close #18150
close #17414

* Update index.less
This commit is contained in:
偏右 2019-08-08 15:09:36 +08:00 committed by zombieJ
parent 0f60283cc9
commit 2cadd5be9f

View File

@ -44,7 +44,9 @@
.@{ant-prefix}-input-clear-icon {
color: @disabled-color;
font-size: @font-size-sm;
vertical-align: top;
// https://github.com/ant-design/ant-design/pull/18151
// https://codesandbox.io/s/wizardly-sun-u10br
vertical-align: 0;
cursor: pointer;
transition: color 0.3s;