From f872911de24967236961c3ea7bde4cb2e505b794 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Tue, 1 Oct 2024 01:36:27 -0400 Subject: [PATCH] Fixes --- webview-ui/src/components/chat/ChatRow.tsx | 1 + webview-ui/src/components/common/MarkdownBlock.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index e367f3e..09106f2 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/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 tags return (
diff --git a/webview-ui/src/components/common/MarkdownBlock.tsx b/webview-ui/src/components/common/MarkdownBlock.tsx index dc28b44..429c57b 100644 --- a/webview-ui/src/components/common/MarkdownBlock.tsx +++ b/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; }