🐛 Revert #14157 to resolve input icon missing

close #14310
This commit is contained in:
afc163 2019-01-13 21:48:16 +08:00 committed by 偏右
parent e39de50b4a
commit 766eafbb5f

View File

@ -350,9 +350,6 @@
&:hover .@{inputClass}:not(.@{inputClass}-disabled) {
.hover();
}
&:hover .@{inputClass}-suffix {
opacity: 1;
}
.@{inputClass} {
position: relative;
@ -363,17 +360,12 @@
position: absolute;
top: 50%;
z-index: 2;
opacity: 0;
transform: translateY(-50%);
line-height: 0;
color: @input-color;
transition: color 0.3s ease, opacity 0.15s ease;
:not(.anticon) {
line-height: @line-height-base;
}
&:hover {
color: @text-color-secondary;
}
}
.@{inputClass}-prefix {