From cded1404cc018d83a0dceb1eb609d3e0ad9bd2b7 Mon Sep 17 00:00:00 2001 From: Timothy Carambat <rambat1010@gmail.com> Date: Mon, 3 Feb 2025 14:39:39 -0800 Subject: [PATCH] inherit font size from UI for thoughts (#3099) --- .../ChatContainer/ChatHistory/ThoughtContainer/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ThoughtContainer/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ThoughtContainer/index.jsx index 166b7c9ab..75f1d835c 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ThoughtContainer/index.jsx +++ b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ThoughtContainer/index.jsx @@ -84,7 +84,7 @@ export const ThoughtChainComponent = forwardRef( <div className="flex-1 overflow-hidden"> {!isExpanded && !autoExpand ? ( <span - className="text-xs text-theme-text-secondary font-mono inline-block w-full" + className="text-theme-text-secondary font-mono inline-block w-full" dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize( truncate(tagStrippedContent, THOUGHT_PREVIEW_LENGTH) @@ -93,7 +93,7 @@ export const ThoughtChainComponent = forwardRef( /> ) : ( <span - className="text-xs text-theme-text-secondary font-mono inline-block w-full" + className="text-theme-text-secondary font-mono inline-block w-full" dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize( renderMarkdown(tagStrippedContent) -- GitLab