fix(toc): element can't fully collapse

This commit is contained in:
Stephen Tse
2025-03-30 17:39:08 -07:00
committed by GitHub
parent 2119025513
commit a21f588c48

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;