Try applying hover padding *all* the time; so only background changes
This commit is contained in:
parent
5a8e3c221a
commit
42d0de98c3
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue