Skip to content

Commit

Permalink
Increase hit area on links in navigation on mobile
Browse files Browse the repository at this point in the history
Signed-off-by: Anneke Sinnema <mail@annekesinnema.nl>
  • Loading branch information
anneke committed Oct 20, 2024
1 parent 1806dc1 commit aa0368f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/_includes/partials/page-header/navigation-triggers.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,17 @@
outline-offset: -2px;
}

@media all and (max-width: 60.124em) {
.navigation-opened .navigation-list-item--toplevel > a {
flex: 1 1 auto;
}
}

.navigation-submenu-toggle[aria-expanded="true"] + .navigation-list--sublevel {
display: block;
width: 100%;
}


@media all and (min-width: 60.125em) {
.navigation-submenu-toggle[aria-expanded="true"] + .navigation-list--sublevel {
width: auto;
Expand Down

0 comments on commit aa0368f

Please sign in to comment.