Skip to content

Commit

Permalink
Hide toggle link when JS disabled (related nav)
Browse files Browse the repository at this point in the history
When JS is disabled, we want to expand all content normally hidden behind a toggle, and hide the toggle link.
  • Loading branch information
Vanita Barrett committed Oct 1, 2018
1 parent 81c81cb commit 8566616
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -34,6 +34,14 @@
@include media(tablet) {
margin-top: 5px;
}

[data-controls] {
display: none;

.js-enabled & {
display: block;
}
}
}

.gem-c-related-navigation__section-link {
Expand Down

0 comments on commit 8566616

Please sign in to comment.