Saoud Rizwan 1 year ago
parent
commit
f872911de2

+ 1 - 0
webview-ui/src/components/chat/ChatRow.tsx

@@ -764,6 +764,7 @@ const ProgressIndicator = () => (
 )
 
 const Markdown = memo(({ markdown }: { markdown?: string }) => {
+	// worth noting that remark parses out <thinking> tags
 	return (
 		<div style={{ wordBreak: "break-word", overflowWrap: "anywhere", marginBottom: -15, marginTop: -15 }}>
 			<MarkdownBlock markdown={markdown} />

+ 1 - 1
webview-ui/src/components/common/MarkdownBlock.tsx

@@ -17,7 +17,7 @@ const StyledMarkdown = styled.div`
 		margin: 13x 0;
 		padding: 10px 10px;
 		max-width: calc(100vw - 20px);
-		overflow-x: scroll;
+		overflow-x: auto;
 		overflow-y: hidden;
 	}