quartz/components/styles/toc.scss
@@ -1,3 +1,7 @@ .toc { overflow-y: auto; } button#toc { background-color: transparent; border: none; @@ -29,7 +33,18 @@ list-style: none; overflow: hidden; max-height: none; transition: max-height 0.5s ease; transition: max-height 0.5s ease, visibility 0s linear 0s; position: relative; visibility: visible; &.collapsed { transition: max-height 0.5s ease, visibility 0s linear 0.5s; visibility: hidden; } &.collapsed > .overflow::after { opacity: 0;