Explorar o código

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

Co-authored-by: Roo Code <[email protected]>
roomote[bot] hai 5 días
pai
achega
802b40a790
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      webview-ui/src/components/chat/ReasoningBlock.tsx

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

@@ -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>
 			)}