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 932432c commit 5e2f45aCopy full SHA for 5e2f45a
components/elements/response.tsx
@@ -10,7 +10,7 @@ export const Response = memo(
10
({ className, ...props }: ResponseProps) => (
11
<Streamdown
12
className={cn(
13
- 'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
+ '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',
14
className,
15
)}
16
{...props}
0 commit comments