Fix Search block style

This commit is contained in:
afc163 2017-01-09 14:24:08 +08:00
parent 361169a3e4
commit 37541e3bfe
2 changed files with 2 additions and 3 deletions

View File

@ -54,6 +54,7 @@ ReactDOM.render(<App />, mountNode);
cursor: pointer;
color: #ccc;
transition: color 0.3s;
font-size: 12px;
}
.anticon-close-circle:hover {
color: #999;

View File

@ -278,8 +278,6 @@
.input-preSuffix-wrapper(@inputClass) {
position: relative;
display: inline-block;
width: 100%;
.@{inputClass} {
z-index: 1;
@ -292,7 +290,7 @@
.@{inputClass}-prefix,
.@{inputClass}-suffix {
position: absolute;
top: 50%;
top: 51%; // little adjust for misplace
transform: translateY(-50%);
z-index: 2;
line-height: 1.2;