#Open to accept a PR for making the left and/or right sidebar collapsible?

4 messages · Page 1 of 1 (latest)

dusk otter
dusk otter
#

cc. @light mason @fathom pumice

fathom pumice
#

I'm not sure if the linked discussion is exactly what you're looking for, looks like it's more about permanent layout rather than dynamically hiding/showing the sidebar. This one is probably closer: https://github.com/withastro/starlight/discussions/2264

Personally, my first thought is that this may be better suited for a community plugin, as an opt-in feature that users can add if they want it. I don't think such feature would be universally desired and/or gets a lot of value from being core to the project. It would also likely allow for faster iterations as I think there may be quite some interesting UX decisions and accessibility considerations to take into account.

honest iris
#

I think there already is a community plugin with a similar goal: https://windmillcode.github.io/starlight-fullview-mode/ Maybe this solves what you are looking for?

Starlight Fullview Mode

A minimalist plugin that collapses Starlight's sidebars and expands the main content to full width, creating a distraction-free, fullscreen-like reading experience. Toggle with a single click to focus purely on your content.