Skip to content

Commit

Permalink
fix: Hide the navbar burger when the list is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
lfavole committed Oct 15, 2024
1 parent 6306111 commit 616a545
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/static/global/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ nav .navbar-burger {
/* Don't push the "more" navbar burger to the right */
margin-left: 0;
}
nav > .navbar-burger:has(+ ul:last-of-type:empty) {
/* Hide the "more" navbar burger when the list is empty */
display: none;
}
nav .close {
/* Hide the close button by default */
display: none;
Expand Down

0 comments on commit 616a545

Please sign in to comment.