Merge pull request #4193 from alphagov/fix-nav-link-focus-hover-bug

Strip underline from focused + hovered nav links
This commit is contained in:
Tom Byers
2022-03-24 11:27:48 +00:00
committed by GitHub

View File

@@ -68,6 +68,10 @@
text-decoration: underline;
}
&:focus {
text-decoration: none; // override the :hover style (the focus style has its own underline)
}
}
&-service {
@@ -167,6 +171,10 @@
text-decoration: underline;
}
&:focus { // override the :hover style (the focus style has its own underline)
text-decoration: none;
}
&.selected {
@include bold-19;
position: relative;