-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add a button to hide/expand the page toc #278
Comments
Hi! |
On a screen like the 13-inch MacBookPro, because of the menu on the left and the toc on the right, the content in the middle are too narrow. If we can click to hide the toc on the right, the middle content can be wider. |
@alex-shpak Like @ikingye says, please add buttons for collapsing the left sidebar and the TOC sidebar on the right on desktop as well. On small 13 and 14 inch screen laptops, the body of the text is a bit narrow for me. Here's an example of how it messes up my table. The row elements wrap which look weird. Obviously, this problem goes away on larger screens with better resolution. Another reason that I can think of for doing this is enhancing the immersive experience while reading an article, somewhat similar to zen mode in popular text editors. This happens naturally on mobile but doesn't happen on desktop. Most of the time a user spends on a page will be on the body of the article rather than on the sidebar content. |
Hi! |
I would love a button like this. My site, https://millmint.net, uses Hugo Book as a platform for storytelling. A toggle for menu and toc for better readability would be fantastic. |
This would be nice on my sites as tables often do not fit which require me to disable the table of contents. |
+1 |
Add a button to hide/expand the page toc on the right.
The text was updated successfully, but these errors were encountered: