Skip to content

fix: sidebar toggle behavior#25

Merged
AdamJ merged 1 commit into
mainfrom
sidebar-autocollapse
Apr 8, 2026
Merged

fix: sidebar toggle behavior#25
AdamJ merged 1 commit into
mainfrom
sidebar-autocollapse

Conversation

@AdamJ

@AdamJ AdamJ commented Apr 8, 2026

Copy link
Copy Markdown
Member

Description of changes

Changed the behavior of the sidebar toggle to automatically close when another is opened - this matches the behavior found with the Bootstrap accordion component.

Fixes #24

PR checklist

Please check the boxes that apply before requesting review.

  • I ran the site locally (pnpm show) and verified the changed pages
  • I ran the production build (pnpm css && pnpm build) and checked docs/ output
  • I updated or copied vendor assets using the package.json copy scripts if required (pnpm copy-css|copy-js|copy-fa|copy-cas)
  • If this change depends on caswow.library, I documented whether it was linked with npm link or included in CI
  • I verified there are no uncaught exceptions in the browser console (common: dialog script in base.njk)
  • I added notes in this PR about any assumptions made (missing vendor files, local links, env variables)

@AdamJ AdamJ self-assigned this Apr 8, 2026
@github-actions github-actions Bot added the minor label Apr 8, 2026
@AdamJ AdamJ merged commit f96d9ec into main Apr 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set sidebar toggles to autocollapse when new one is opened

1 participant