Skip to content

Commit

Permalink
Fix scrollbar track background in dark mode caused by #308 (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkasad authored Mar 22, 2021
1 parent 4b24a94 commit 306aa9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
</style>
Expand Down

0 comments on commit 306aa9f

Please sign in to comment.