Merge pull request #231 from OCram85/fixScrollbar
🐛 Fixes scrollbar in code blocks
This commit is contained in:
commit
de94e5a9be
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue