mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
fix: should hide close button if not hover, close: #2584
This commit is contained in:
parent
8b0766937f
commit
a4d91fb99a
@ -39,9 +39,9 @@
|
||||
}
|
||||
&-clear {
|
||||
opacity: 0;
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
right: 7px;
|
||||
z-index: 1;
|
||||
background: #fff;
|
||||
top: 50%;
|
||||
font-size: 12px;
|
||||
@ -59,6 +59,7 @@
|
||||
|
||||
&:hover &-clear {
|
||||
opacity: 1;
|
||||
z-index: 1;
|
||||
}
|
||||
&-icon {
|
||||
position: absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user