Fix thinking block word-breaking to prevent horizontal scroll (#10806)

Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
roomote[bot] 2026-01-17 12:15:27 -05:00 • committed by GitHub
parent 6608ed618a
commit 802b40a790
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ export const ReasoningBlock = ({ content, isStreaming, isLast }: ReasoningBlockP
{(content?.trim()?.length ?? 0) > 0 && !isCollapsed && (
<div
ref={contentRef}
className="border-l border-vscode-descriptionForeground/20 ml-2 pl-4 pb-1 text-vscode-descriptionForeground">
className="border-l border-vscode-descriptionForeground/20 ml-2 pl-4 pb-1 text-vscode-descriptionForeground break-words">
<MarkdownBlock markdown={content} />
</div>
)}