We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66801b4 commit 76e28f3Copy full SHA for 76e28f3
apps/website/src/components/mdx-components/index.tsx
@@ -23,7 +23,9 @@ export const components: Record<string, any> = {
23
return (
24
<h1
25
{...props}
26
- class={[cn('mb-6 pt-6 text-3xl font-extrabold md:text-5xl', props.class)]}
+ class={[
27
+ cn('mb-6 scroll-mt-32 pt-6 text-3xl font-extrabold md:text-5xl', props.class),
28
+ ]}
29
>
30
<Slot />
31
</h1>
@@ -46,7 +48,10 @@ export const components: Record<string, any> = {
46
48
}),
47
49
h3: component$<PropsOf<'h3'>>(({ ...props }) => {
50
- <h3 {...props} class={[cn('mb-6 mt-8 text-xl font-semibold', props.class)]}>
51
+ <h3
52
+ {...props}
53
+ class={[cn('mb-6 mt-8 scroll-mt-32 text-xl font-semibold', props.class)]}
54
+ >
55
56
</h3>
57
);
0 commit comments