From 664b8c56290026ba2beb7b75db24c684824b8670 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 26 Feb 2026 23:18:11 +0800 Subject: [PATCH] fix(ui): unify metadata component styles across MemoView and MemoEditor Align header padding, text color, background tokens, and item row styles across CodeBlock, AttachmentList, RelationList, and LocationDisplay so all metadata panels follow the same visual pattern. --- web/src/components/MemoContent/CodeBlock.tsx | 12 ++++++------ .../MemoEditor/components/AttachmentList.tsx | 4 ++-- .../MemoEditor/components/LocationDisplay.tsx | 2 +- .../MemoEditor/components/RelationList.tsx | 4 ++-- .../MemoView/components/metadata/AttachmentList.tsx | 4 ++-- .../MemoView/components/metadata/LocationDisplay.tsx | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/web/src/components/MemoContent/CodeBlock.tsx b/web/src/components/MemoContent/CodeBlock.tsx index 8dfa91a3..f74e1c7f 100644 --- a/web/src/components/MemoContent/CodeBlock.tsx +++ b/web/src/components/MemoContent/CodeBlock.tsx @@ -115,17 +115,17 @@ export const CodeBlock = ({ children, className, node: _node, ...props }: CodeBl }; return ( -
+    
       {/* Header with language label and copy button */}
-      
- {language || "text"} +
+ {language || "text"}