]> BookStack Code Mirror - bookstack/commit
Layout: Improved sidebar sizing, and dropdown consideration
authorDan Brown <redacted>
Mon, 30 Jun 2025 12:19:45 +0000 (13:19 +0100)
committerDan Brown <redacted>
Mon, 30 Jun 2025 12:19:45 +0000 (13:19 +0100)
commit6045aff33a3c57f03b380bd10919bb47a55440c6
tree7b44d596a241661ec3b345d713ee9190d77ba9ea
parentdfeca246a0f9e4117f32a348553ab501b8a14056
Layout: Improved sidebar sizing, and dropdown consideration

- Updated tri-layout sidebars to have less padding and to avoid cutting
  off content when in single-sidebar mode.
- Updated dropdown handling to consider the parent scroll container when
  deciding to drop upwards, to help prevent cut-off.
resources/js/components/dropdown.js
resources/js/services/dom.ts
resources/sass/_layout.scss