Bläddra i källkod

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

Co-authored-by: Roo Code <[email protected]>
roomote[bot] 1 vecka sedan
förälder
incheckning
802b40a790
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 && (
 			{(content?.trim()?.length ?? 0) > 0 && !isCollapsed && (
 				<div
 				<div
 					ref={contentRef}
 					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} />
 					<MarkdownBlock markdown={content} />
 				</div>
 				</div>
 			)}
 			)}