Closed x-yzt closed 1 year ago
@galaad37 I can't assign you on this as you're not a project member, however I guess this would be a good first issue for you :)
Would it be sufficient for mobile devices to put the TOC at the top of the page, without keeping it on the screen when the user scrolls? Or should I think about allowing to hide/show the sidebar?
I've been thinking about it a bit and I don't think one can simply put the TOC at the top of the page on mobile devices. The point of having a TOC is to make very long content (such as https://mixtures.info/substance/mdma/) easier to navigate. A way to show/hide the sidebar regardless of the current position of the user on the page seems better to me (maybe by swiping?)
Currently the TOC is only displayed on large width screens.
It would be great to think of something so it is easier to scroll through long pages on mobile devices too :)