🐛 Fix clear icon style in Input/Input.Search

close #15237
This commit is contained in:
afc163 2019-03-26 22:37:14 +08:00
parent 9f3ef09717
commit e3559ffb32
No known key found for this signature in database
GPG Key ID: 5F00908D72002306

View File

@ -32,11 +32,33 @@
}
.@{ant-prefix}-input-password-icon {
color: @text-color-secondary;
cursor: pointer;
transition: all 0.3s;
&:hover {
color: #333;
}
}
.@{ant-prefix}-input-clear-icon {
color: @disabled-color;
font-size: @font-size-sm;
vertical-align: top;
cursor: pointer;
transition: color 0.3s;
&:hover {
color: @text-color-secondary;
}
&:active {
color: @text-color;
}
+ i {
margin-left: 6px;
}
}
@import './search-input';