Fixed TOC can't fully collapse

This commit is contained in:
Stephen Tse 2025-03-26 03:54:24 -07:00
parent 23b691f38c
commit 6816a68448

View File

@ -5,7 +5,7 @@
flex-direction: column; flex-direction: column;
overflow-y: hidden; overflow-y: hidden;
min-height: 4rem; min-height: 1.2rem;
flex: 0 1 auto; flex: 0 1 auto;
&:has(button.toc-header.collapsed) { &:has(button.toc-header.collapsed) {
flex: 0 1 1.2rem; flex: 0 1 1.2rem;