You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the problem doesn't occur with the mkdocs or readthedocs themes
... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
Depending on window width, site title length, and length of versions in the version selection dropdown, the dropdown can stretch on the area that contains the light/dark toggle and search bar. When that happens, are not hidden behind the uncollapsed version dropdown.
Expected behaviour
Either, the dropdown should expand above, not behind other topbar elements,
or the dropdown should expand to the bottom of the topbar, similar to the language selector dropdown (as seen in the following screenshot)
Actual behaviour
The dropdown expands behind the theme toggle & search bar (could also affect other elements like the language selector, haven't checked)
Steps to reproduce
Configure a long enough site title.
Configure several versions, few of them quite long.
Set a medium window size.
Expand the version dropdown.
Note: It's easier to reproduce the issue if the currently selected version is one of the short ones. This will cause the title to be truncated less, and the version dropdown to be positioned close to the theme toggle & search bar. Expanding the dropdown then will cause it to expand behind the theme toggle & search bar.
Package versions
Python: python --version: 3.9.6
MkDocs: mkdocs --version: 1.2.3
Material: 8.1.10-insiders-4.8.0 (but happens with older versions as well)
Configuration
-
System information
Operating system: Linux Mint 19.1
Browser: I can reproduce with Chromium 97.0.4692.71 & Firefox 96.0.3
The text was updated successfully, but these errors were encountered:
Thanks for reporting. That shouldn't happen. Can you share the site where this is happening? It would make my work much, much easier, as it's probably only a z-index problem.
Unfortunately I cannot share the site where I'm experiencing this since it requires authentication. But I was able to reproduce it in the arduino docs site by doing the following:
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
Depending on window width, site title length, and length of versions in the version selection dropdown, the dropdown can stretch on the area that contains the light/dark toggle and search bar. When that happens, are not hidden behind the uncollapsed version dropdown.
Expected behaviour
Actual behaviour
The dropdown expands behind the theme toggle & search bar (could also affect other elements like the language selector, haven't checked)
Steps to reproduce
Note: It's easier to reproduce the issue if the currently selected version is one of the short ones. This will cause the title to be truncated less, and the version dropdown to be positioned close to the theme toggle & search bar. Expanding the dropdown then will cause it to expand behind the theme toggle & search bar.
Package versions
Python: python --version: 3.9.6
MkDocs: mkdocs --version: 1.2.3
Material: 8.1.10-insiders-4.8.0 (but happens with older versions as well)
Configuration
System information
The text was updated successfully, but these errors were encountered: