CSS: Calculate hover effect offset correctly

This commit is contained in:
Florian Strohmaier 2019-07-01 11:12:18 +02:00 committed by Johannes Meyer
parent 12aa079e5c
commit b45b38d73d
1 changed files with 4 additions and 4 deletions

View File

@ -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%);
} }