mirror of
https://github.com/fmhy/edit.git
synced 2026-01-12 15:01:06 +11:00
fix: preserve TOC visibility and improve toggle consistency (#4570)
* feat: disable toggle starred to maintain consistency * fix: prevent Toggle Starred and Indexes from hiding TOC
This commit is contained in:
parent
e6fb8d7520
commit
4b340191ad
2 changed files with 14 additions and 4 deletions
|
|
@ -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