-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Adding scrollbar into the sidebar #468
Comments
@agjohnson @ericholscher do you think it is reasonable that this could be an option? |
What would the option do? I think currently we:
I'm not sure what we would change? |
I added |
@ericholscher @jessetan The laptop I primarily use has no touchpad and no other convenient way to generate mouse scroll events. Would it be possible to make the sidebar scrollbar visible, or at least design the CSS so that it's relatively easy for me to override that? Otherwise I cannot easily scroll the sidebar. |
We just had a reader without a scroll wheel / touchpad run into the same issue. A workaround for those readers seems to be to hit |
We're running into the same issue. On the laptops of our users the sidebar has no scrollbars but not all of the content is visible when opening some pages: https://global-coffee-data-standard.readthedocs.io/en/latest/explanation.html#environmental-farm-characteristics It would already be very helpfull if you could show how to override the setting in my custom css. |
The Ansible docs have a customized theme with a scrollbar in the nav, so I copied some styles and it seems to be be working for me. I added the following to a custom.css override file I have: /* adds scrollbar to sidenav */
.wy-side-scroll {
width: auto;
overflow-y: auto;
} I personally don't think it should be an option, as I know how painful it is to support all CSS options with future changes, and just be changed in the original theme styles. The reason being is also because OSX, and I would assume other operating systems, give the option to hide/show scroll bars in their General settings, so that option exists at a global level essentially: You can can see the changes live here: https://docs.ansible.com/ansible/devel/installation_guide/intro_configuration.html |
Thanks @jdillard your css is also working for me. |
Suggested by @k-takata at universal-ctags/universal-ctags.github.io#18 The techniques used in this change are taken from the following pages https://stackoverflow.com/questions/23462494/how-to-add-custom-css-file-to-sphinx readthedocs/sphinx_rtd_theme#468
Hi,
Is there any option to enable a scrollbar in the left sidebar?
Thanks
The text was updated successfully, but these errors were encountered: