Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Doc]: Split-screen website formatting hides navigation links #30072

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

Closed
jvalcher opened this issue May 18, 2025 · 4 comments
Closed

[Doc]: Split-screen website formatting hides navigation links #30072

jvalcher opened this issue May 18, 2025 · 4 comments

Comments

@jvalcher
Copy link

Documentation Link

https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.bar.html

Problem

  • When the browser is snapped to the left or right of my 1920x1080 screen, the top of 'Section Navigation' is cut off, including the title itself and the first few menu items.
  • The following image shows https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.bar.html in split screen.
    Image

Suggested improvement

  • Page styling needs to be responsive to a browser split right or left on a 1920x1080 desktop screen.
@rcomer
Copy link
Member

rcomer commented May 18, 2025

My screen is the same resolution and I cannot reproduce the issue. Perhaps it is browser dependent? I'm using Firefox on Ubuntu.

@timhoffm
Copy link
Member

timhoffm commented May 18, 2025

On win, firefox, chrome and edge all work. You may need to scroll up again.

That said, the the main navbar should not take up so much space. There's pydata/pydata-sphinx-theme#1784 and pydata/pydata-sphinx-theme#2117, but it seems pydata-sphinx-theme is not moving forward. We may decide to apply #2117 locally. Note also that it's slightly better on the dev branch because we've removed the twitter icon.

@jvalcher
Copy link
Author

And now I feel like I'm crazy. Just tried it again and it seems to be working now. Chrome 136.0.7103.113, Ubuntu 22.04.5 for the record.

Outside of the styling issue brought up by timhoffm, I guess this issue is resolved. Thanks for the quick feedback!

@jklymak
Copy link
Member

jklymak commented May 18, 2025

I think this is the world's way of saying we have too much stuff in the top navigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants