Skip to content

Commit

Permalink
Fix missing backgrounds for nav menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Aug 31, 2024
1 parent 7c067a2 commit b013b43
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions src/components/nav-menu.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
.nav-menu section:last-child {
background-color: var(--bg-faded-color);
margin-bottom: -8px;
padding-bottom: 8px;
.nav-menu {
overflow: hidden;

section:last-child {
background-color: var(--bg-faded-color);
margin-bottom: -4px;
padding-bottom: 4px;

.szh-menu__item:before {
z-index: 0;
}
.szh-menu__item > * {
z-index: 1;
}
}
}

@media (min-width: 23em) {
Expand Down

0 comments on commit b013b43

Please sign in to comment.