diff --git a/components/carnet/navigation.tsx b/components/carnet/navigation.tsx index 5d343efd..d6ed16f4 100644 --- a/components/carnet/navigation.tsx +++ b/components/carnet/navigation.tsx @@ -164,10 +164,10 @@ export default function Navigation({ nextcloudFolders, onFolderSelect }: Navigat return (
{/* Search */} -
-
- - PAGES +
+
+ + PAGES
setSearchQuery(e.target.value)} placeholder="Recherche..." - className="w-full pl-9 pr-4 py-2.5 bg-white border border-carnet-border rounded-md text-sm text-carnet-text-primary placeholder-carnet-text-muted focus:outline-none focus:ring-1 focus:ring-primary" + className="w-full pl-8 pr-4 py-1.5 bg-white border border-carnet-border rounded-md text-sm text-carnet-text-primary placeholder-carnet-text-muted focus:outline-none focus:ring-1 focus:ring-primary" /> - + {searchQuery && ( )}
{/* Folders */} -
-

VUES

-
+
+

VUES

+
{sortedFolders.map((folder) => { const config = FOLDER_CONFIG[folder as FolderType]; const Icon = config?.icon || FileText; @@ -208,13 +208,13 @@ export default function Navigation({ nextcloudFolders, onFolderSelect }: Navigat onFolderSelect(folder); } }} - className="w-full flex items-center px-3 py-2.5 text-sm rounded-md text-carnet-text-primary hover:bg-carnet-hover" + className="w-full flex items-center px-2 py-1.5 text-sm rounded-md text-carnet-text-primary hover:bg-carnet-hover" > - + {displayName} {folder === 'Contacts' && (