fix: scrollable table of contents

This commit is contained in:
jason 2024-10-01 16:02:24 -07:00
parent 4371313050
commit e06b17e82b
7 changed files with 327 additions and 91 deletions

View file

@ -83,7 +83,7 @@
@layer components {
article {
@apply prose-headings:scroll-mt-20 prose-headings:break-words prose-p:break-words prose-a:!decoration-muted-foreground prose-a:underline-offset-[3px] prose-a:transition-colors hover:prose-a:!decoration-foreground prose-pre:!px-0 prose-img:mx-auto;
@apply prose-headings:scroll-mt-20 prose-headings:break-words prose-p:break-words prose-a:!break-words prose-a:!decoration-muted-foreground prose-a:underline-offset-[3px] prose-a:transition-colors hover:prose-a:!decoration-foreground prose-pre:!px-0 prose-img:mx-auto;
.katex-display {
@apply overflow-x-auto overflow-y-hidden py-4;