osrg / ryu-book

Apache License 2.0
57 stars 40 forks source link

Scrollbar is almost invisible in Chrome on macOS #24

Open SolidKalium opened 2 years ago

SolidKalium commented 2 years ago

The scrollbar is white, slightly transparent, and disappears after a moment in both Chrome and Safari on macOS. Chrome has a larger issue though because the scrollbar has no border there. I have not tested other OSs or browsers.

The scrollbar being so close to invisible is disorienting on tall pages.

It looks like this is a bug for Sphinx versions below 2.2.0. I see this project is currently using 1.4.9. https://github.com/sphinx-doc/sphinx/issues/1125

I've tested that this can be resolved by editing the css, such as with this JS that I'm using in Tampermonkey: document.styleSheets[1].insertRule('html { background-color: #FFF }');

Thanks for considering my feedback