mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Fix Search block style
This commit is contained in:
parent
361169a3e4
commit
37541e3bfe
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user