fix scrollbar in dark mode

This commit is contained in:
Marco Blessing 2021-04-13 12:02:52 +02:00 committed by GitHub
parent 6ce969bdcd
commit 3f8a4dbc62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -331,3 +331,20 @@ body.dark .copy-status:active::after {
display: block;
color: $link-color-dark;
}
body.dark pre code::-webkit-scrollbar {
height: 5px;
}
body.dark pre code::-webkit-scrollbar-thumb {
background: $gray-400;
}
body.dark pre code:hover {
scrollbar-width: thin;
scrollbar-color: $gray-500 transparent;
}
body.dark pre code::-webkit-scrollbar-thumb:hover {
background: $gray-500;
}