Skip to content

Commit

Permalink
partial fix for scrollbar theming toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Aug 22, 2019
1 parent 54b9fc0 commit 6e9dfd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/application/style/scrollbar.css
Expand Up @@ -8,12 +8,13 @@
*/

/* use standard opaque scrollbars for most nodes */
div.jp-LabShell[data-jp-theme-scrollbars='true'] {
[data-jp-theme-scrollbars='true'] {
scrollbar-color: rgb(var(--jp-scrollbar-thumb-color))
var(--jp-scrollbar-background-color);
}

/* for code nodes, use a transparent style of scrollbar */
/* for code nodes, use a transparent style of scrollbar. These selectors
* will match lower in the tree, and so will override the above */
[data-jp-theme-scrollbars='true'] .CodeMirror-hscrollbar,
[data-jp-theme-scrollbars='true'] .CodeMirror-vscrollbar {
scrollbar-color: rgba(var(--jp-scrollbar-thumb-color), 0.5) transparent;
Expand Down

0 comments on commit 6e9dfd7

Please sign in to comment.