Fix code block wrapping behavior

This commit is contained in:
Saoud Rizwan committed 2024-07-31 10:18:24 -04:00
1 parent 9467583938
commit c69b515345
1 file changed
+1 -1
+1 -1
View File
@@ -187,7 +187,7 @@ const ChatRow: React.FC<ChatRowProps> = ({
<code
{...rest}
className={className}
style={{ whiteSpace: "pre-line", wordBreak: "break-all" }}>
style={{ whiteSpace: "pre-line", wordBreak: "break-word" }}>
{children}
</code>
)