quartz/components/styles/toc.scss
@@ -15,21 +15,25 @@ } & .fold { margin-left: 0.5rem; margin-left: 0.5rem; transition: transform 0.3s ease; opacity: 0.8; } &.collapsed .fold { transform: rotateZ(-90deg) transform: rotateZ(-90deg); } } #toc-content { list-style: none; overflow: hidden; max-height: none; transition: max-height 0.3s ease; transition: max-height 0.5s ease; &.collapsed > .overflow::after { opacity: 0; } & ul { list-style: none; @@ -51,4 +55,3 @@ } } }