From b3952194f4063ebc39641e9c1d33bc623825d346 Mon Sep 17 00:00:00 2001 From: Kian Kasad Date: Fri, 19 Mar 2021 10:40:12 -0700 Subject: [PATCH] fix scrollbar track background in dark mode --- layouts/partials/header.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 0cdd189ae9..f0e4bd03a2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -60,6 +60,12 @@ .list { background: var(--theme); } + .list:not(.dark)::-webkit-scrollbar-track { + background: 0 0; + } + .list:not(.dark)::-webkit-scrollbar-thumb { + border-color: var(--theme); + } } {{- end }}