Documentation icon indicating copy to clipboard operation
Documentation copied to clipboard

[Feature Request] Collapse sidebar and examples

Open mrchantey opened this issue 3 years ago • 2 comments

The site looks great in 16:9 but can feel overcrowded in thinner ratios, alongside another window in 8:9 for instance. I'd love to be able to collapse the sidebar and examples so that I can see the documentation, and especially the code examples, with less line breaks. I noticed that the sidebar and examples go 'mobile friendly' at a certain width, I'd be super happy even with a force mobile mode button that keeps examples hidden and sidebar as a dropdown.

Screenshot 2022-07-12 130527

mrchantey avatar Jul 12 '22 03:07 mrchantey

image @RaananW There seems to be a bug where when shrunk, the page will have both the hamburger menu & the side bar. (see image attached). This occurs at <900px. I'm thinking about working on this feature request but wanted to make sure that at ~900px width when the hamburger shows, the side bar should close. The alternative is delaying showing the hamburger until ~600px when the side bar closes. Or, is having both intentional?

impurity-dev avatar Nov 14 '23 15:11 impurity-dev

Seems like a misconfigured css rule. Should probable be sm and not m (or something like that :) ).

~~I can look at that during the week, otherwise - be my guest to remove the sidebar at smaller than 900.~~ Open PR to fix it. thanks for reporting!

RaananW avatar Nov 15 '23 12:11 RaananW