make toc srollable if its too long

This commit is contained in:
2026-03-23 13:28:51 +08:00
parent 6534dc58ab
commit f226f440a5
2 changed files with 39 additions and 2 deletions

View File

@@ -12,7 +12,9 @@ $partial("templates/head.html")$
<div id="contents-big">
<p class="mini-header">Notes <a id="up-arrow" href="/"></a></p>
<p class="mini-header">Contents <a id="up-arrow" href="#"></a></p>
$toc$
<div class="toc-scroll">
$toc$
</div>
</div>
</div>
<div class="text-space">
@@ -38,4 +40,4 @@ $partial("templates/head.html")$
</div>
</body>
</html>
</html>