Skip to content

Commit

Permalink
update toc
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamankoji committed Jun 3, 2024
1 parent 61a0d6f commit d032545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/articles/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ <h4 class="text-white inline-block border-b-2 border-gray6">Comments</h4>
</article>
<!-- TOC fixed sidebar -->
{{ if not .Params.disable_toc }}
<aside class="tableOfContents relative w-full sm:w-1/4 order-1 sm:order-2 items-center mx-auto">
<aside class="tableOfContents relative w-full sm:w-1/4 order-1 sm:order-2 items-center mx-auto max-h-[80vh] overflow-hidden overflow-y-auto">
{{ .TableOfContents }}
</aside>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion public

0 comments on commit d032545

Please sign in to comment.