mirror of
https://github.com/fmhy/edit.git
synced 2026-01-13 07:21:08 +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>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.indexes-only li:not(.index) {
|
.indexes-only .vp-doc li:not(.index) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ const toggleStarred = (value: boolean) => {
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.starred-only li:not(.starred) {
|
.starred-only .vp-doc li:not(.starred) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue