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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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