-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Table of contents does not appear on mobile #422
Comments
Now it's designed to behave like this because I didn't occur a nice way to put TOC on a mobile screen 😥. |
How about add a float menu buttom at the corner? Click it to show the TOC (pop window or a slide-in animation). |
|
Pull request is Here: #615. |
@CaiJimmy, since the PR mentioned above will not be added to the code-base, is there any plans to add a ToC to mobile? |
why don't we try using a side bar for that to make it responsive |
Describe the bug
There is no way to see the table of contents on mobile.
Expected behavior
There is either a button or a section where I can see and navigate the table of contents, or something else that would make navigating large articles easier.
To Reproduce
Use
toc: true
on any article and open the article on a mobile device or in a browser with a narrow window.Screenshots
Table of contents appears as expected on large displays:
But on narrow ones, it does not appear at all:
Environment
Additional context
Add any other context about the problem here.
If it's a UI issue, fill the following information:
Content of config.yaml
I'd prefer not sharing mine, as I don't think it is related to the issue.
Link to the demo site and/or source repository
None, this is something I encountered while migrating my blog to use the ToC feature instead of manual lists of links to sections.
The text was updated successfully, but these errors were encountered: