-
Notifications
You must be signed in to change notification settings - Fork 87
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
The 'More' dropdown doesn't render properly on macOS with Safari #1295
Comments
Controlled by this variable in html_theme_options = {
"header_links_before_dropdown": 5
} (which is currently not set, and so is using the theme default value of 5). IDK why the dropdown is not showing, but the 2 things I'd try are updating the sphinx theme, and setting the above var to 6 (in the MNE-BIDS case, there are only 6 total top-level nav items (count the |
Thanks @drammock ! 🙏 I agree that a drop-down with only 1 item is potentially unnecessary. I’ll try it out and report back here or via PR. |
…der. This suppresses a dropdown from kicking in after 5 items, effectively creating a dropdown with only 1 item. Instead, this just shows all 6 items in the header bar. Closes mne-tools#1295 , which raised an issue with the rendering of the dropdown. If a dropdown is ever introduced again, this issue may rear its head again.
* FIX: explicitly set the number of items that should appear in the header. This suppresses a dropdown from kicking in after 5 items, effectively creating a dropdown with only 1 item. Instead, this just shows all 6 items in the header bar. Closes #1295 , which raised an issue with the rendering of the dropdown. If a dropdown is ever introduced again, this issue may rear its head again. * FIX: html_theme_options already defined
Description of the problem
I'm willing to help fix this, but I don't have a ton of experience customizing sphinx themes, and it may be a little while until I have time to dig into this.
Screen.Recording.2024-08-16.at.12.25.33.PM.mov
Steps to reproduce
Expected results
I wanna see the dropdown!
Actual results
Can't see the dropdown 🙁
Additional information
See video.
The text was updated successfully, but these errors were encountered: