Skip to content

Commit

Permalink
Underline active trail links in quick menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilkka Veteläsuo committed Jun 21, 2018
1 parent b68c6a8 commit 6d284d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7208,7 +7208,7 @@ ul.pager > li.pager__page a {
text-transform: uppercase;
}

.quick-menu a:hover:before, .quick-menu a.active:before {
.quick-menu a:hover:before, .quick-menu a.active:before, .quick-menu a.active-trail:before {
content: "";
position: absolute;
border-bottom: 2px solid #FFF;
Expand Down
3 changes: 2 additions & 1 deletion sass/components/_quick-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
text-transform: uppercase;

&:hover,
&.active {
&.active,
&.active-trail {
&:before {
content: "";
position: absolute;
Expand Down

0 comments on commit 6d284d3

Please sign in to comment.