mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix: input suffix icon center by flex (#4159)
This commit is contained in:
parent
e0a0502eb3
commit
c1621a5164
@ -166,7 +166,7 @@
|
||||
|
||||
@include m(feedback) {
|
||||
.#{$namespace}-input__validateIcon {
|
||||
display: inline-block;
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -204,17 +204,10 @@
|
||||
@include e(icon) {
|
||||
width: 25px;
|
||||
height: inherit;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
transition: all var(--el-transition-duration);
|
||||
vertical-align: middle;
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
height: 100%;
|
||||
width: 0;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
@include e(validateIcon) {
|
||||
|
Loading…
Reference in New Issue
Block a user