quartz/components/styles/toc.scss
@@ -1,3 +1,22 @@ @use "../../styles/variables.scss" as *; .toc { display: flex; flex-direction: column; overflow-y: hidden; flex: 0 1 auto; &:has(button#toc.collapsed) { flex: 0 1 1.2rem; } } @media all and not ($mobile) { .toc { display: flex; } } button#toc { background-color: transparent; border: none; @@ -27,13 +46,7 @@ #toc-content { list-style: none; overflow: hidden; max-height: none; transition: max-height 0.5s ease; &.collapsed > .overflow::after { opacity: 0; } position: relative; & ul { list-style: none;