From dc034a98ebf1b262e1b754bcc0b247876942c3ba Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Sun, 29 Mar 2026 04:43:18 +0530 Subject: [PATCH] fix: update inline code styling in markdown-text component for improved readability and consistency --- surfsense_web/components/assistant-ui/markdown-text.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/surfsense_web/components/assistant-ui/markdown-text.tsx b/surfsense_web/components/assistant-ui/markdown-text.tsx index 3d33463b2..a45b26cd1 100644 --- a/surfsense_web/components/assistant-ui/markdown-text.tsx +++ b/surfsense_web/components/assistant-ui/markdown-text.tsx @@ -419,9 +419,11 @@ const defaultComponents = memoizeMarkdownComponents({ if (!isCodeBlock) { return ( + > + {children} + ); } const language = /language-(\w+)/.exec(className || "")?.[1] ?? "text";