quartz/components/styles/toc.scss
@@ -29,8 +29,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;