Skip to content

Default Theme: File Listing Overflow #1234

@csm10495

Description

@csm10495

When having a lot of files, the drop down will overflow beyond the page height.
image

I tried adding a max height / overflow-y via CSS:

.dropdown-menu{
  overflow-y: auto;
  max-height: 85vh;
}

Though that led to more weird behavior:

image

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugTheme-mkdocsIssues specifically involving the mkdocs theme.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions