Skip to content

Commit

Permalink
Merge pull request #17508 from LilyWakana/issue17414
Browse files Browse the repository at this point in the history
fix: optimize Input presuffix style(#17414)
  • Loading branch information
afc163 committed Jul 8, 2019
2 parents 041eb1a + 9691d2b commit 2023e86
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/input/style/mixin.less
Expand Up @@ -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 {
Expand Down

0 comments on commit 2023e86

Please sign in to comment.