Merge pull request #231 from OCram85/fixScrollbar

🐛 Fixes scrollbar in code blocks
This commit is contained in:
Henk Verlinde 2021-06-14 16:29:57 +02:00 committed by GitHub
commit de94e5a9be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -188,7 +188,7 @@ body.dark .docs-navigation {
} }
body.dark pre code::-webkit-scrollbar-thumb { body.dark pre code::-webkit-scrollbar-thumb {
background: $border-dark; background: $gray-400;
} }
body.dark code:not(.hljs) { body.dark code:not(.hljs) {
@ -202,7 +202,7 @@ body.dark pre code:hover {
} }
body.dark pre code::-webkit-scrollbar-thumb:hover { body.dark pre code::-webkit-scrollbar-thumb:hover {
background: $border-dark; background: $gray-500;
} }
body.dark blockquote { body.dark blockquote {

View File

@ -49,14 +49,14 @@ pre code::-webkit-scrollbar {
} }
pre code::-webkit-scrollbar-thumb { pre code::-webkit-scrollbar-thumb {
background: $gray-200; background: $gray-400;
} }
pre code:hover { pre code:hover {
scrollbar-width: thin; scrollbar-width: thin;
scrollbar-color: $gray-200 transparent; scrollbar-color: $gray-500 transparent;
} }
pre code::-webkit-scrollbar-thumb:hover { pre code::-webkit-scrollbar-thumb:hover {
background: $gray-200; background: $gray-500;
} }