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

Only the toctree section of the left sidebar is scrollable #500

Closed
OriolAbril opened this issue Oct 14, 2021 · 2 comments · Fixed by #502
Closed

Only the toctree section of the left sidebar is scrollable #500

OriolAbril opened this issue Oct 14, 2021 · 2 comments · Fixed by #502

Comments

@OriolAbril
Copy link
Contributor

I tried to search other issues related to this, but I wasn't able to find the right one if it already exists. The left sidebar accepts a number of custom templates in addition to the toctree navigational one, however, only the toctree part seems to be "scrollable".

With the default config for example, the api landing page looks great:

image

however, when unfolding one of the api sections, the add ends up in the footer (and like the add any other template that is added):

image

and moving the sidebar scrolling has no effect on it:

image

@choldgraf
Copy link
Collaborator

hmmm - I htink this could be done without re-arranging the HTML. If you added the following rule to the .bd-sidebar class:

overflow-y: auto;

then does it work?

@OriolAbril
Copy link
Contributor Author

It does work, much easier thatnks. It does generate two scrolling bars though, not sure if it might be confusing for some people:

image

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

Successfully merging a pull request may close this issue.

2 participants