Skip to content

Commit

Permalink
Fix toggling the docs menu on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Feb 2, 2025
1 parent 831ea3e commit 6ab5ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/docs/layouts.inko
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fn header(root: mut html.Element, config: ref Config, page: ref Page) {
})

h.div.attr('class', 'expand-menus').with(fn (div) {
div.add(toggle_menu('.top-bar nav', 'Show menu', 'Hide menu'))
div.add(toggle_menu('#top-bar nav', 'Show menu', 'Hide menu'))
div.add(toggle_menu('.page aside.left', 'Show chapters', 'Hide chapters'))
})

Expand Down

0 comments on commit 6ab5ee3

Please sign in to comment.