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

Adding scrollbar into the sidebar #468

Open
nadaa opened this issue Sep 25, 2017 · 9 comments
Open

Adding scrollbar into the sidebar #468

nadaa opened this issue Sep 25, 2017 · 9 comments
Labels
Feature New feature Needed: design decision A core team decision is required Support Support question Theme Option

Comments

@nadaa
Copy link

nadaa commented Sep 25, 2017

Hi,
Is there any option to enable a scrollbar in the left sidebar?

Thanks

@jessetan
Copy link
Contributor

I think this is intentionally hidden by commit 60eb0af, see #206

@Blendify Blendify added Feature request Needed: design decision A core team decision is required Support Support question Theme Option labels Sep 27, 2017
@Blendify
Copy link
Member

@agjohnson @ericholscher do you think it is reasonable that this could be an option?

@ericholscher
Copy link
Member

What would the option do? I think currently we:

  • Allow scrolling when the sidebar overflows
  • Hide scrolling when the sidebar doesn't

I'm not sure what we would change?

@nadaa
Copy link
Author

nadaa commented Sep 30, 2017

I added html_sidebar={'overflow:auto'}, but nothing change!

@LinuxMercedes
Copy link

@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.

@jdillard
Copy link

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 tab and then use the up and down arrows.

@paulmeems-waterwatchfoundation

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.

@jdillard
Copy link

jdillard commented Feb 28, 2019

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:

screen shot 2019-02-28 at 8 59 39 am

You can can see the changes live here: https://docs.ansible.com/ansible/devel/installation_guide/intro_configuration.html
and here: https://docs.netgate.com/pfsense/en/latest/

@paulmeems-waterwatchfoundation

Thanks @jdillard your css is also working for me.

rdswift added a commit to metabrainz/picard-docs that referenced this issue Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature Needed: design decision A core team decision is required Support Support question Theme Option
Projects
None yet
Development

No branches or pull requests

8 participants