mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-02 15:10:16 +00:00
Merge pull request #1204 from tangly1024/fix/dark-table-of-contents-color
fix toc dark color
This commit is contained in:
@@ -1121,11 +1121,10 @@ code[class*='language-'] {
|
|||||||
.notion-table-of-contents {
|
.notion-table-of-contents {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 4px 0;
|
margin: 4px 0;
|
||||||
@apply bg-gray-50 dark:bg-black p-2
|
@apply bg-gray-50 dark:bg-gray-900 p-2
|
||||||
}
|
}
|
||||||
|
|
||||||
.notion-table-of-contents-item {
|
.notion-table-of-contents-item {
|
||||||
/* color: inherit; */
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
transition: background 20ms ease-in 0s;
|
transition: background 20ms ease-in 0s;
|
||||||
@@ -1141,6 +1140,7 @@ code[class*='language-'] {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@apply dark:text-white
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user