CSS: Calculate hover effect offset correctly
This commit is contained in:
parent
12aa079e5c
commit
b45b38d73d
|
@ -256,10 +256,10 @@ a:hover > .icon-cancel {
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -2px;
|
top: -1/6em;
|
||||||
right: -2px;
|
right: -1/6em;
|
||||||
bottom: -2px;
|
bottom: -1/6em;
|
||||||
left: -2px;
|
left: -1/6em;
|
||||||
background: fade(@text-color, 10);
|
background: fade(@text-color, 10);
|
||||||
.rounded-corners(50%);
|
.rounded-corners(50%);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue