Skip to content

Commit 9274eee

Browse files
Fixed heading list links
1 parent d290557 commit 9274eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/src/components/heading-list.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const { headings } = Astro.props;
1414
<div class={["ml-0", "ml-2", "ml-4", "ml-6", "ml-8"].at(h.depth - 1) + " p-0.5"}>
1515
<a
1616
class={h.depth === 1 ? 'font-bold font-mono tracking-tight text-black dark:text-white' : ''}
17-
href={`${Astro.url}#${h.slug}`}
17+
href={`#${h.slug}`}
1818
>{h.text}</a>
1919
</div>
2020
))}

0 commit comments

Comments
 (0)