Fix show position in toc colors

This commit is contained in:
lolabird 2026-01-17 15:54:20 -07:00
commit e94cee02a8
No known key found for this signature in database
GPG key ID: CCB68A8A3FA20AAA

View file

@ -279,12 +279,9 @@ div.tab-row-widget .note-tab .note-tab-wrapper {
/*****TOC*****/
/***Only applies if 'Show Position in TOC' widget is in use***/
.toc-widget span.toc li[style] {
.toc li.in-view {
color: var(--bold-sun) !important;
}
.toc-widget span.toc li:not([style*="color:"]), .toc-widget span.toc li:not([style*="color:"]) * {
color: inherit !important;
}
.toc-widget .toc li, .highlights-list > ol > li {
text-align: left;