Skip to content

Commit 833b641

Browse files
committed
fix(mdx-components): fix pre scrollbar
1 parent 6dd00a7 commit 833b641

File tree

1 file changed

+4
-1
lines changed
  • apps/website/src/components/mdx-components

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ export const components: Record<string, any> = {
9595
<div
9696
{...props}
9797
class={[
98-
cn('relative -mx-6 mb-6 max-h-[31.25rem] rounded-xl lg:-mx-8', props.class),
98+
cn(
99+
'code-example relative -mx-6 mb-6 max-h-[31.25rem] rounded-xl lg:-mx-8',
100+
props.class,
101+
),
99102
]}
100103
>
101104
<CodeCopy class="absolute right-4 top-4" code={__rawString__} />

0 commit comments

Comments
 (0)