fix: should hide close button if not hover, close: #2584

This commit is contained in:
Benjy Cui 2016-08-03 09:48:53 +08:00
parent 8b0766937f
commit a4d91fb99a

View File

@ -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;