mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fix code block wrapping behavior
This commit is contained in:
@@ -187,7 +187,7 @@ const ChatRow: React.FC<ChatRowProps> = ({
|
|||||||
<code
|
<code
|
||||||
{...rest}
|
{...rest}
|
||||||
className={className}
|
className={className}
|
||||||
style={{ whiteSpace: "pre-line", wordBreak: "break-all" }}>
|
style={{ whiteSpace: "pre-line", wordBreak: "break-word" }}>
|
||||||
{children}
|
{children}
|
||||||
</code>
|
</code>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user