Skip to content
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

Horizontal scroll bar appears on TOC even when there's lots of room #80

Open
DragaDoncila opened this issue Mar 2, 2022 · 9 comments · Fixed by napari/docs#423
Open
Labels
browser bug Something isn't working

Comments

@DragaDoncila
Copy link

Even with a wide window the scroll bar on the left-side TOC appears even when the text is short and there's lots of space (I think it might be the search box?):

image

It would be nice if we could just have it appearing for very long names or not at all (wrap the names)

@tlambert03
Copy link
Contributor

same here

@codemonkey800 codemonkey800 added this to the v0.2.0 milestone Mar 21, 2022
@codemonkey800 codemonkey800 added bug Something isn't working P2 labels Mar 30, 2022
@liaprins-czi
Copy link

Yeah, ideally there wouldn't be a side scrollbar at all ever, and long names should just wrap

@psobolewskiPhD
Copy link
Member

This is still a thing, just more subtle because the scroll bar is at the bottom of the page, after #134
image
It doesn't happen on the pydata-sphinx-theme site, so it must be somehow related to our setup.

@melissawm
Copy link
Member

I can't reproduce on Firefox/Linux, so that may be browser-related. Will take a look

@psobolewskiPhD
Copy link
Member

Yup! I don't see it in Chrome, just Safari.

@melissawm melissawm modified the milestones: v0.2.0, 0.3.3 Feb 6, 2024
@psobolewskiPhD
Copy link
Member

psobolewskiPhD commented May 3, 2024

Interestingly, it's not on all pages.
Homepage, Contributing and API reference are fine. But, usage, plugins, and community it's there.
Likewise pydata-sphinx read the docs site it's fine.

@psobolewskiPhD
Copy link
Member

psobolewskiPhD commented Jun 3, 2024

Gah, this isn't actually fixed by pydata 15.3
It's just that the spurious scroll bar is now in a less prominent spot and disappears when there is stuff to scroll vertically -- makes no sense. But see:
image
vs.
image

@psobolewskiPhD psobolewskiPhD reopened this Jun 3, 2024
@psobolewskiPhD psobolewskiPhD removed the P2 label Jun 3, 2024
@melissawm
Copy link
Member

I will try to get ahold of a safari machine to actually try and debug this...

@psobolewskiPhD
Copy link
Member

It's not a priority :)

@melissawm melissawm removed this from the 0.3.3 milestone Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

6 participants