No effect either if variable is falsy

This commit is contained in:
PhilippeVay 2016-12-15 21:12:58 +01:00
parent 94c20e2048
commit d489bd2c86
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ a {
// No styling on focus/hover if there's no effect. Avoids to then have to
// override it countless times. See Issue #232
@if $link-hover-color != $link-color {
@if ($link-hover-color != $link-color and $link-hover-color != false) {
&:focus,
&:hover,
&:active {