mirror of
https://github.com/fmhy/edit.git
synced 2026-01-12 23:11:06 +11:00
fix: prevent Toggle Starred and Indexes from hiding TOC
This commit is contained in:
parent
61d5f2b08c
commit
53529c042a
2 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ const toggleIndexes = (value: boolean) => {
|
|||
</template>
|
||||
|
||||
<style>
|
||||
.indexes-only li:not(.index) {
|
||||
.indexes-only .vp-doc li:not(.index) {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ const toggleStarred = (value: boolean) => {
|
|||
</template>
|
||||
|
||||
<style>
|
||||
.starred-only li:not(.starred) {
|
||||
.starred-only .vp-doc li:not(.starred) {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue