diff --git a/src/components/Widgets/TOC.astro b/src/components/Widgets/TOC.astro index 819a483..d72c4cb 100644 --- a/src/components/Widgets/TOC.astro +++ b/src/components/Widgets/TOC.astro @@ -22,7 +22,7 @@ const filteredHeadings = headings.filter(heading => // TOC Container
{/* Hidden Checkbox */} --at-apply: 'ml-4 font-semibold 2xl:hidden'; } .toc-list { - --at-apply: 'mb-2.2 mt-0 list-none pl-0 space-y-1.1 2xl:(mb-2 space-y-1)'; + --at-apply: 'mb-3 mt-1 list-none pl-0 space-y-1.1 2xl:(mb-2 space-y-1)'; } .toc-link-h2, .toc-link-h3, .toc-link-h4 { --at-apply: 'text-balance text-sm font-normal no-underline 2xl:(text-3.2 c-secondary/60 transition-colors transition-font-weight duration-300 ease-out hover:c-secondary hover:font-medium)'; @@ -109,7 +109,7 @@ const filteredHeadings = headings.filter(heading => --at-apply: 'grid rows-[0fr] transition-all duration-350 ease-in-out'; } .accordion-content { - --at-apply: 'max-h-58 overflow-hidden pl-4 pr-6 2xl:max-h-[calc(100vh-26.5rem)]'; + --at-apply: 'max-h-59 overflow-hidden pl-4 pr-6 2xl:max-h-[calc(100vh-26.5rem)]'; } /* When toggle is checked, expand the wrapper to show content */