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