🐛 Fix: fix code block scrollbar color error

This commit is contained in:
Cell
2024-07-12 14:59:27 +08:00
parent 26051115cd
commit dc279b4346
2 changed files with 6 additions and 7 deletions
+5 -7
View File
@@ -257,13 +257,11 @@
}
.table-wrapper {
&:not(> .lntable) {
overflow-x: auto;
--#{$prefix}scrollbar-thumb-color: #{$table-background-color};
[data-theme='dark'] & {
--#{$prefix}scrollbar-thumb-color: #{$table-background-color-dark};
}
overflow-x: auto;
--#{$prefix}scrollbar-thumb-color: #{$table-background-color};
[data-theme='dark'] & {
--#{$prefix}scrollbar-thumb-color: #{$table-background-color-dark};
}
> table {
+1
View File
@@ -58,6 +58,7 @@ pre:not(.mermaid[data-processed='true']) {
font-family: $code-font-family;
.table-wrapper {
--#{$prefix}scrollbar-thumb-color: initial;
> table,
> table thead,
> table tr,