Skip to content

Commit

Permalink
Merge pull request #909 from michael-wisely-gravwell/fix-hamburger-me…
Browse files Browse the repository at this point in the history
…nu-items

Don't show repeated links in sidebar menu
  • Loading branch information
ashnwade authored Jan 26, 2024
2 parents 53a7e5c + e33e7e1 commit 625dc73
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,19 @@ The styles below use media queries to dictate which of the 8 navbars will show g
display: none;
}

/* When we've collapsed to the hamburger menu, only show the navbar that contains all 8 links */
@media (width < 960px) {
#nav-1,
#nav-2,
#nav-3,
#nav-4,
#nav-5,
#nav-6,
#nav-7 {
display: none;
}
}

/* Depending on the width of the page, we decide which nav to show */

@media (960px <= width < 1035px) {
Expand Down

0 comments on commit 625dc73

Please sign in to comment.