Try applying hover padding *all* the time; so only background changes

This commit is contained in:
benjamin melançon 2020-06-12 10:59:32 -04:00
parent 5a8e3c221a
commit 42d0de98c3

View file

@ -59,23 +59,19 @@ p {
.content a {
font-weight: bold;
padding: $link-hover-padding;
margin: -$link-hover-padding;
&:hover {
color: $link-hover;
background-color: $link-hover-background;
padding: $link-hover-padding;
margin: -$link-hover-padding;
}
&:focus {
color: $link-focus;
background-color: $link-hover-background;
padding: $link-hover-padding;
margin: -$link-hover-padding;
}
&:active {
color: $link-active;
background-color: $link-hover-background;
padding: $link-hover-padding;
margin: -$link-hover-padding;
}
}