Prevent background color hover from making icons look weird

This commit is contained in:
benjamin melançon 2018-12-02 22:04:49 -05:00
parent 32db074c7c
commit d8f6c861da

View file

@ -58,7 +58,6 @@ p {
a { a {
// color: $;
&:hover { &:hover {
color: $link-hover; color: $link-hover;
background-color: $link-hover-background; background-color: $link-hover-background;
@ -79,6 +78,15 @@ a {
} }
} }
// Prevent background color hover from making icons look weird.
a .icon {
&:hover,
&:focus,
&:active {
background-color: transparent;
}
}
// Rule // Rule
// //
// Adds big border // Adds big border