Merge pull request #17508 from LilyWakana/issue17414

fix: optimize Input presuffix style(#17414)
This commit is contained in:
偏右 2019-07-08 19:34:29 +08:00 committed by GitHub
commit 2023e86f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -373,9 +373,17 @@
color: @input-color;
line-height: 0;
transform: translateY(-50%);
background-color: #fff;
height: calc(100% - 2px);
:not(.anticon) {
line-height: @line-height-base;
}
.anticon {
position: relative;
vertical-align: top;
top: 50%;
transform: translateY(-50%);
}
}
.@{inputClass}-prefix {