Skip to content

Commit 802b40a

Browse files
roomote[bot]roomote
andauthored
Fix thinking block word-breaking to prevent horizontal scroll (RooCodeInc#10806)
Co-authored-by: Roo Code <roomote@roocode.com>
1 parent 6608ed6 commit 802b40a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webview-ui/src/components/chat/ReasoningBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const ReasoningBlock = ({ content, isStreaming, isLast }: ReasoningBlockP
6868
{(content?.trim()?.length ?? 0) > 0 && !isCollapsed && (
6969
<div
7070
ref={contentRef}
71-
className="border-l border-vscode-descriptionForeground/20 ml-2 pl-4 pb-1 text-vscode-descriptionForeground">
71+
className="border-l border-vscode-descriptionForeground/20 ml-2 pl-4 pb-1 text-vscode-descriptionForeground break-words">
7272
<MarkdownBlock markdown={content} />
7373
</div>
7474
)}

0 commit comments

Comments
 (0)