From 2dc0b26d1b0d3a07a3a25a0a5d37f6e2d95066e1 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 18 Aug 2022 03:41:02 -0400 Subject: [PATCH] Fixes Graph default font size (matches VS Code) Fixes Graph scrollbar styling --- src/webviews/apps/plus/graph/graph.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/webviews/apps/plus/graph/graph.scss b/src/webviews/apps/plus/graph/graph.scss index ab000f2..4e34656 100644 --- a/src/webviews/apps/plus/graph/graph.scss +++ b/src/webviews/apps/plus/graph/graph.scss @@ -158,6 +158,9 @@ body { } .graph-app { + --fs-2: 1.3rem; + --scroll-thumb-bg: var(--vscode-scrollbarSlider-background); + padding: 0; &__container { @@ -182,3 +185,17 @@ body { overflow: hidden; } } + +::-webkit-scrollbar-thumb { + background-color: var(--vscode-scrollbarSlider-background); + border: unset !important; + border-radius: unset !important; + + &:hover { + background-color: var(--vscode-scrollbarSlider-hoverBackground); + } + + &:active { + background-color: var(--vscode-scrollbarSlider-activeBackground); + } +}