clean up unnecessary z-index

close #9840

close #10385
This commit is contained in:
afc163 2018-05-06 21:50:50 +08:00
parent e86f17186b
commit d93cfdef09
2 changed files with 4 additions and 6 deletions

View File

@ -72,7 +72,6 @@
&-input {
position: absolute;
left: 0;
z-index: 1;
cursor: pointer;
opacity: 0;
top: 0;

View File

@ -311,20 +311,19 @@
display: inline-block;
width: 100%;
.@{inputClass} {
z-index: 1;
}
&:hover .@{inputClass}:not(.@{inputClass}-disabled) {
.hover();
}
.@{inputClass} {
position: static;
}
.@{inputClass}-prefix,
.@{inputClass}-suffix {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 2;
line-height: 0;
color: @input-color;
:not(.anticon) {