Sidebar nav drawer can't be closed between 768px and 991px (no hamburger, no close button)
Describe the bug On docs.layer5.io (e.g. https://docs.layer5.io/cloud/), between viewport widths of roughly 768px and 991px, the left sidebar navigation renders permanently open with no close button and no hamburger toggle, so it cannot be dismissed.
Screenshots
To Reproduce
- Open https://docs.layer5.io/cloud/
- Set the viewport width to ~937px (or resize between 768px and 991px; also reproduces on wide screens with browser zoom increased, which shrinks the CSS viewport into this range — related to #1140)
- The full sidebar navigation is expanded and stacked on top of the content, with no toggle to hide it.
Below 768px it behaves correctly: closed by default behind a hamburger, and the hamburger becomes an X (aria-expanded) when open.
Root cause Breakpoint mismatch:
_resizable-bootstrap-overrides.scss(introduced by #1142 for #1140) stacks the sidebar full-width ("drawer") via@include media-breakpoint-down(lg)— up to 991.98px.- But the Docsy theme hides the sidebar toggle and forces the nav open at
media-breakpoint-up(md)— 768px and up.
So in the 768–991.98px window the drawer is open while the toggle is hidden.
Expected behavior A hamburger toggle (X when open) should exist at every width where the sidebar is drawn as a drawer; closed by default.
Environment
- Browser: Chrome/Firefox, any
- Site: docs.layer5.io
Area of the codebase
assets/scss/_sidebar-tree.scss, assets/scss/_resizable-bootstrap-overrides.scss
pls suggest if any more changes are needed.