Skip to content

Commit 49e9d32

Browse files
committed
docs: fix highlight border radius
1 parent 864a8e5 commit 49e9d32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/website/src/components/highlight/highlight.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const Highlight = component$(
6767
<div
6868
{...props}
6969
class={cn(
70-
'tab-size max-h-[31.25rem] max-w-full overflow-auto rounded-b-sm bg-gradient-to-b from-slate-900 to-slate-800 p-6 text-sm',
70+
'tab-size max-h-[31.25rem] max-w-full overflow-auto rounded-sm bg-gradient-to-b from-slate-900 to-slate-800 p-6 text-sm',
7171
props.class,
7272
)}
7373
>

apps/website/src/components/mdx-components/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const components: Record<string, any> = {
5050
return (
5151
<h3
5252
{...props}
53-
class={[cn('mb-6 mt-8 scroll-mt-32 text-xl font-semibold', props.class)]}
53+
class={[cn('mb-6 mt-8 scroll-mt-20 text-xl font-semibold', props.class)]}
5454
>
5555
<Slot />
5656
</h3>

0 commit comments

Comments
 (0)