From 5bac31f5303bf7de164d55e326e11ef182368145 Mon Sep 17 00:00:00 2001 From: FinleyGe Date: Mon, 13 Oct 2025 20:01:29 +0800 Subject: [PATCH] fix: TextBlock style --- .../Markdown/codeBlock/StructureRender/TextBlock.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/app/src/components/Markdown/codeBlock/StructureRender/TextBlock.tsx b/projects/app/src/components/Markdown/codeBlock/StructureRender/TextBlock.tsx index e5bbc42b6..8342120a6 100644 --- a/projects/app/src/components/Markdown/codeBlock/StructureRender/TextBlock.tsx +++ b/projects/app/src/components/Markdown/codeBlock/StructureRender/TextBlock.tsx @@ -43,8 +43,9 @@ const TextBlock: React.FC<{ content: string }> = ({ content }) => { borderColor="gray.200" borderRadius="md" fontSize="sm" + color="gray.600" lineHeight="1.2" - sx={{ p: { marginBlock: '6px', padding: '1rem' } }} + sx={{ p: { marginBlock: '2px', padding: '6px' } }} > = ({ content }) => { {hasNewlines && ( <> {!isExpanded && ( - + @@ -71,7 +72,7 @@ const TextBlock: React.FC<{ content: string }> = ({ content }) => { > {detail} - +