Skip to content

Commit cadca8a

Browse files
committed
fix scroll-bar colors for tables
1 parent 9691c41 commit cadca8a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

assets/css/post-single.css

+8-4
Original file line numberDiff line numberDiff line change
@@ -346,20 +346,24 @@ h6:hover .anchor {
346346
font-weight: 500
347347
}
348348

349-
.post-content ::-webkit-scrollbar-thumb {
349+
.post-content :not(table) ::-webkit-scrollbar-thumb {
350350
border: 2px solid var(--hljs-bg);
351351
background: rgba(255, 255, 255, 0.32)
352352
}
353353

354-
.post-content ::-webkit-scrollbar-thumb:hover {
354+
.post-content :not(table) ::-webkit-scrollbar-thumb:hover {
355355
background: rgba(255, 255, 255, 0.56)
356356
}
357357

358-
.gist ::-webkit-scrollbar-thumb {
358+
.gist table::-webkit-scrollbar-thumb {
359359
border: 2px solid rgb(255, 255, 255);
360360
background: rgba(0, 0, 0, 0.32)
361361
}
362362

363-
.gist ::-webkit-scrollbar-thumb:hover {
363+
.gist table::-webkit-scrollbar-thumb:hover {
364364
background: rgba(0, 0, 0, 0.56)
365365
}
366+
367+
.post-content table::-webkit-scrollbar-thumb {
368+
border-width: 2px;
369+
}

0 commit comments

Comments
 (0)