post-single(css): fix scroll-bar in code

hiding background
This commit is contained in:
Aditya Telange 2020-12-31 17:01:26 +05:30
parent bfb5019cbc
commit 5d6de5ecb1
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 9 additions and 1 deletions

View File

@ -337,3 +337,11 @@ h6:hover .anchor {
margin-inline-start: 8px; margin-inline-start: 8px;
font-weight: 500 font-weight: 500
} }
.post-content ::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.32)
}
.post-content ::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.64)
}

View File

@ -114,7 +114,7 @@ img {
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background: var(--theme) background: 0 0
} }
.list:not(.dark)::-webkit-scrollbar-track { .list:not(.dark)::-webkit-scrollbar-track {