Skip to content

Commit 5e2f45a

Browse files
authored
fix: split layout (#1147)
1 parent 932432c commit 5e2f45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/elements/response.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const Response = memo(
1010
({ className, ...props }: ResponseProps) => (
1111
<Streamdown
1212
className={cn(
13-
'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
13+
'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0 [&_pre]:overflow-x-auto [&_pre]:max-w-full [&_code]:break-words [&_code]:whitespace-pre-wrap',
1414
className,
1515
)}
1616
{...props}

0 commit comments

Comments
 (0)