Skip to content

Commit b6efd19

Browse files
authored
Chore: add auto scroll to Preview component (#190)
1 parent 71f822c commit b6efd19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/components/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const Preview = async ({ path, className }: ComponentPreviewProps) => {
6161

6262
return (
6363
<Tabs items={["Preview", "Code"]}>
64-
<Tab className={cn("not-prose h-[600px]", className)}>
64+
<Tab className={cn("not-prose h-[600px] overflow-auto", className)}>
6565
<Component />
6666
</Tab>
6767
<Tab className="p-0">

0 commit comments

Comments
 (0)