-
Notifications
You must be signed in to change notification settings - Fork 6
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
mystmd.org theme does not have a hamburger menu on mobile #12
Comments
If this should be broken down into a few follow-up issues for things that are likely features not bugs, let me know. I think the main "bug" here is that you can't navigate to |
This is for sure a bug. Note that the The problem/bug that I haven't figured out yet is that we don't want to show the docs menu on the main page and so they are fighting for space. The whole nav bar needs a bit of a refresh and moving to a more a11y component framework as well. |
@rowanc1 indeed although the guide's top-left menu doesn't contain the cross-site links. It only contains the "within subsection" links of the guide. E.g. see here there's no link to "overview", "try myst", etc: The way that the PyData theme handles this is the following: On wide screens, the navbar has top-level links, icon links to the right, and a search bar. On mobile, the navbar shows only a hamburger menu, logo, and search button. The sidebar drawer first displays all the other items from the navbar, and below them displays the "within section" items. For example, here's the sidebar of the 'User guide' for the pydata theme. You can see the navbar links first, the icon links, and then there's another section for the "within user guide navigation" Wide: Mobile: |
@choldgraf it's unique to the home page i.e. part of the design - previously the hide_toc was used to make sure the toc was never shown making it a front/landing page. Note: that's also complemented by the "banner" style nav being switched on the Had to do work to maintain that :) but was worth it as it improved the [re-]usability of the underlying it is nice to have full navigation on there though! |
Just to be clear the thing I was talking about was that in the home page, the background isn't blacked-out when the drawer is open, and clicking outside the drawer doesn't do anything. Whereas it does do this in the |
ah ha, i was talking about the content of the sidebar i.e. not showing the underlying table of contents and only the navigation items. Now I see what you mean. Right, that is a bug, opened #19 |
Describe the bug
On mobile screens, the mystmd.org website does not have a hamburger menu, and so all of the top-level links are hidden.
Reproduce the bug
Two screenshots from mystmd.org, note the lack of hamburger menu on mobile:
Expectations
The text was updated successfully, but these errors were encountered: