-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Default Theme: File Listing Overflow #1234
Labels
Milestone
Comments
csm10495
changed the title
Default Theme:File Listing Overflow
Default Theme: File Listing Overflow
Jun 5, 2017
waylan
added
the
Theme-general
Issues involving the theme related code within MkDocs
label
Nov 1, 2017
waylan
added
Theme-mkdocs
Issues specifically involving the mkdocs theme.
and removed
Theme-general
Issues involving the theme related code within MkDocs
labels
Aug 22, 2018
jimporter
added a commit
to jimporter/mkdocs
that referenced
this issue
Jan 29, 2020
…cs#1234 This patch allows dropdowns with many items to scroll, rather than overflowing beyond the bounds of the page. Due to the complexities of CSS, this requires nested dropdowns to be given a fixed position which is initialized via JS. In addition, this patch changes the behavior of nested dropdowns to require a click to open (more consistent with the root dropdown, and improves UX on mobile devices). It also fixes the UI on small screens, adding the nested dropdown "in-place" when it's opened and allowing the whole navbar to scroll if there are many items.
jimporter
added a commit
to jimporter/mkdocs
that referenced
this issue
Jan 29, 2020
…cs#1234 This patch allows dropdowns with many items to scroll, rather than overflowing beyond the bounds of the page. Due to the complexities of CSS, this requires nested dropdowns to be given a fixed position which is initialized via JS. In addition, this patch changes the behavior of nested dropdowns to require a click to open (more consistent with the root dropdown, and improves UX on mobile devices). It also fixes the UI on small screens, adding the nested dropdown "in-place" when it's opened and allowing the whole navbar to scroll if there are many items.
jimporter
added a commit
to jimporter/mkdocs
that referenced
this issue
Jan 29, 2020
…cs#1234 This patch allows dropdowns with many items to scroll, rather than overflowing beyond the bounds of the page. Due to the complexities of CSS, this requires nested dropdowns to be given a fixed position which is initialized via JS. In addition, this patch changes the behavior of nested dropdowns to require a click to open (more consistent with the root dropdown, and improves UX on mobile devices). It also fixes the UI on small screens, adding the nested dropdown "in-place" when it's opened and allowing the whole navbar to scroll if there are many items.
jimporter
added a commit
to jimporter/mkdocs
that referenced
this issue
Jan 29, 2020
…cs#1234 This patch allows dropdowns with many items to scroll, rather than overflowing beyond the bounds of the page. Due to the complexities of CSS, this requires nested dropdowns to be given a fixed position which is initialized via JS. In addition, this patch changes the behavior of nested dropdowns to require a click to open (more consistent with the root dropdown, and improves UX on mobile devices). It also fixes the UI on small screens, adding the nested dropdown "in-place" when it's opened and allowing the whole navbar to scroll if there are many items.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When having a lot of files, the drop down will overflow beyond the page height.
I tried adding a max height / overflow-y via CSS:
Though that led to more weird behavior:
It looks like the overflow is leading to the child dropdowns being contained within the existing one. Weird.
I'm sure there is a way to do this with CSS, and I'm imagining it would make sense to make it into the theme. Much thanks!
The text was updated successfully, but these errors were encountered: