From 1ea76fed64bf48c2515b8c060630ff0994370d2e Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Mon, 12 Jan 2026 10:59:06 +0100 Subject: [PATCH] refactor(FoldersSidebar): reorganize button and notes count display for improved layout and accessibility --- src/components/notes/FoldersSidebar.tsx | 43 +++++++++++++------------ 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/src/components/notes/FoldersSidebar.tsx b/src/components/notes/FoldersSidebar.tsx index 6ab78ec..7ebdd4c 100644 --- a/src/components/notes/FoldersSidebar.tsx +++ b/src/components/notes/FoldersSidebar.tsx @@ -145,27 +145,28 @@ function FolderItem({ })()} {folder.name} - {folder.notesCount !== undefined && folder.notesCount > 0 && ( - - {folder.notesCount} - - )} - -
- - +
+
+ + +
+ {folder.notesCount !== undefined && folder.notesCount > 0 && ( + + {folder.notesCount} + + )}