Show the Table of Contents (ToC) be default on 13.3" screens. #232
Replies: 3 comments 2 replies
-
After quickly playing around, it looks like the cutoff for the ToC is |
Beta Was this translation helpful? Give feedback.
-
Thanks for posting this, @johnnymatthews! I agree wholeheartedly. This is something that came up for me recently when doing user testing on our documentation's navigation - users had a very different experience based on screen size/resolution. Also, not to piggy-back too much on Johnny's request (and please let me know if I should open my own), but it would also be great if there were a way still have the ToC/On this page accessible when the screen is too small to show it, akin to how the page action buttons currently collapse inside of a "three dots" menu. In fact, incorporating it into that menu might be the slickest solution. |
Beta Was this translation helpful? Give feedback.
-
I received the following email from Gitbook support regarding this issue:
The fix for this issue should be incredibly trivial, so it's a shame that Gitbook won't be getting to it anytime soon... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's your feature/idea?
The
@media
queries that define when to hide the Table of Contents are, in my opinion, too narrow. 13.3" is the screen size for the M1 Macbook Air; a pretty popular device.I've attached two screenshots showing what I'm talking about. The first shows a website at 100% in the browser:
The second shows that same page but at 90%:
I've marked this as
high
impact. A few colleagues aren't aware of this little hack and are assuming that the Gitbook service doesn't contain a table of contents.What's your desired outcome?
When I view a Gitbook page at 100% on a 13.3" monitor, I should be able to see the table of contents for that page.
What's the impact of this for you?
Anything else?
This could be solved with custom CSS, but I saw a separate issue saying that custom CSS is not coming anytime soon. A shame, but understandable. I'm also not sure if the monitor size is the issue here, or the resolution.
Beta Was this translation helpful? Give feedback.
All reactions