fix scrollbar in dark mode
This commit is contained in:
parent
6ce969bdcd
commit
3f8a4dbc62
|
@ -331,3 +331,20 @@ body.dark .copy-status:active::after {
|
||||||
display: block;
|
display: block;
|
||||||
color: $link-color-dark;
|
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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue