fix: bad TableOfContentsHeading
y-padding
This commit is contained in:
parent
86312d32ee
commit
781a437da3
3 changed files with 5 additions and 5 deletions
|
@ -6,11 +6,11 @@ const { heading } = Astro.props
|
|||
---
|
||||
|
||||
<li
|
||||
class="list-inside list-disc px-4 py-1.5 text-sm text-foreground/60 xl:list-none xl:p-0"
|
||||
class="list-inside list-disc px-4 text-sm text-foreground/60 xl:list-none xl:p-0"
|
||||
>
|
||||
<Link
|
||||
href={'#' + heading.slug}
|
||||
class="toc-link underline decoration-transparent underline-offset-[3px] transition-colors duration-200 hover:decoration-inherit"
|
||||
class="py-1 underline decoration-transparent underline-offset-[3px] transition-colors duration-200 hover:decoration-inherit"
|
||||
>
|
||||
{heading.text}
|
||||
</Link>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue