mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +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 {
|
&-clear {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
z-index: -1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 7px;
|
right: 7px;
|
||||||
z-index: 1;
|
|
||||||
background: #fff;
|
background: #fff;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -59,6 +59,7 @@
|
|||||||
|
|
||||||
&:hover &-clear {
|
&:hover &-clear {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
&-icon {
|
&-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user