When I add scroll to a container space for both a horizontal and vertical scroll bar are added. Is there a way to restrict scroll to only one dimension (preferably vertical)?
I’ve implemented Dark Mode (which is awesome!) using the Library colors but can’t seem to find a way to style the scroll bar for dark mode only. I’ve seen a post that uses custom CSS, but am wondering how to change only for dark mode.
Hey @SteveB
You can set the scroll to auto so that the scrollbar only appears when needed.
Else, to force the display of the vertical scrollbar, you can add the custom properties overflow-y: scroll.
I think you could use a color variable from your Libraries, this way, it will use the dark mode color you set!