Improves the document sidebar scrollbar gutter in Chrome and FF.
When Chrome 121 added support for scrollbar-width and scrollbar-color, it introduced some visual bugs on Hermes and elsewhere (https://syntackle.com/blog/changes-to-scrollbar-styling-in-chrome-121/). Turns out that when scrollbar-color is processed it cancels all webkit-specific scrollbar styles.
Now we scope that property more narrowly, and in addition add padding to simulate the wider scroll track.
Improves the document sidebar scrollbar gutter in Chrome and FF.
When Chrome 121 added support for
scrollbar-width
andscrollbar-color
, it introduced some visual bugs on Hermes and elsewhere (https://syntackle.com/blog/changes-to-scrollbar-styling-in-chrome-121/). Turns out that whenscrollbar-color
is processed it cancels all webkit-specific scrollbar styles.Now we scope that property more narrowly, and in addition add padding to simulate the wider scroll track.
Current:
Updated: