mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
Merge pull request #17508 from LilyWakana/issue17414
fix: optimize Input presuffix style(#17414)
This commit is contained in:
commit
2023e86f8f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user