From 2ade39d58f412432d0b5b957a8b8362ab0efb5fd Mon Sep 17 00:00:00 2001 From: MikiVL Date: Tue, 5 May 2026 03:45:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AC=94=E8=AE=B0=E5=88=97=E8=A1=A8=20h?= =?UTF-8?q?over=20=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE=E4=B8=8E=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E4=BA=92=E6=8D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sidebar/Sidebar.tsx | 54 ++++++++++++++++-------------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/src/components/sidebar/Sidebar.tsx b/src/components/sidebar/Sidebar.tsx index 7db20de..50b0829 100644 --- a/src/components/sidebar/Sidebar.tsx +++ b/src/components/sidebar/Sidebar.tsx @@ -582,32 +582,34 @@ function DraggableNoteItem({ note, active, editing, editValue, editRef, activeTa )} - {hovered ? ( -
- - -
- ) : ( - - {formatDate(note.updatedAt)} - - )} +
+ {hovered ? ( + <> + + + + ) : ( + + {formatDate(note.updatedAt)} + + )} +
{note.tags.length > 0 && (