From 253e79c111116ea5ebaf988ad3c49d027618440e Mon Sep 17 00:00:00 2001 From: Johnny Date: Tue, 13 Jan 2026 23:19:43 +0800 Subject: [PATCH] style: remove unnecessary font-weight classes for cleaner UI --- web/src/components/MemoEditor/Editor/SlashCommands.tsx | 2 +- .../components/MemoEditor/components/AttachmentList.tsx | 8 ++++---- .../components/MemoEditor/components/LocationDialog.tsx | 8 ++++---- .../components/MemoEditor/components/LocationDisplay.tsx | 2 +- web/src/components/MemoEditor/components/RelationList.tsx | 2 +- .../MemoView/components/metadata/AttachmentList.tsx | 2 +- .../MemoView/components/metadata/SectionHeader.tsx | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/web/src/components/MemoEditor/Editor/SlashCommands.tsx b/web/src/components/MemoEditor/Editor/SlashCommands.tsx index b00bbd008..d1ab6c12d 100644 --- a/web/src/components/MemoEditor/Editor/SlashCommands.tsx +++ b/web/src/components/MemoEditor/Editor/SlashCommands.tsx @@ -33,7 +33,7 @@ const SlashCommands = ({ editorRef, editorActions, commands }: SlashCommandsProp onItemSelect={handleItemSelect} getItemKey={(cmd) => cmd.name} renderItem={(cmd) => ( - + / {cmd.name} diff --git a/web/src/components/MemoEditor/components/AttachmentList.tsx b/web/src/components/MemoEditor/components/AttachmentList.tsx index 4aa6d1716..dda1d3bd0 100644 --- a/web/src/components/MemoEditor/components/AttachmentList.tsx +++ b/web/src/components/MemoEditor/components/AttachmentList.tsx @@ -27,7 +27,7 @@ const AttachmentItemCard: FC<{ return (
-
+
{category === "image" && thumbnailUrl ? ( ) : ( @@ -36,7 +36,7 @@ const AttachmentItemCard: FC<{
- + {filename} @@ -51,7 +51,7 @@ const AttachmentItemCard: FC<{
-
+
{onMoveUp && (