Closed cmj2002 closed 1 year ago
I use a color extractor to try to get the color the scrollbar. Seems the colors of the slider and the background are so similar that i was not able to distinguish them ( rgb(32,32,32)
vs rgb(40,40,40)
)
Anyway, maybe I shouldn't call it a bug. Should I close the issue?
I managed to change the CSS style and fix it by adding:
figure.highlight .highlight-body::-webkit-scrollbar-thumb {
background-color: #808080;
}
Describe the bug
The scrollbar of codeblock with dark highlight theme disappears in Chrome. I have tried
d11y-dark
,github-dark
,github-dark-dimmed
and their scrollbars all disappeared. It did not happen in the light themegithub
. Same problem did not happen on Firefox (it use default scrollbar).Although the scrollbar is not visible, it can still be operated.
The image below is using theme
d11y-dark
:Same page on FireFox:
System and Environment
Hexo: 6.2.0
Output of
hexo --version
:Icarus: commit 436e134 of this repo, the newest version when writing this issue
Site configuration file (part of it) :
Theme configuration file
config.icarus.yml
(part of it) :Browser: Chrome 107.0.5304.89
To Reproduce
Go to https://e1aaaf01.cmj2002-github-io.pages.dev/ffmpeg-images-to-gif/ in Chrome.
Expected behavior
A scrollbar should appear.