diff --git a/memento-note/components/sidebar.tsx b/memento-note/components/sidebar.tsx index 766b6b5..bc64455 100644 --- a/memento-note/components/sidebar.tsx +++ b/memento-note/components/sidebar.tsx @@ -1159,7 +1159,7 @@ export function Sidebar({ className, user }: { className?: string; user?: any }) className={cn( // Mobile: fixed overlay, slide in/out 'fixed inset-y-0 start-0 z-[70] md:relative md:z-auto', - 'h-full min-h-0 w-72 lg:w-80 shrink-0 flex flex-row overflow-hidden', + 'h-full min-h-0 w-80 shrink-0 flex flex-row overflow-hidden', 'transition-transform duration-300 ease-in-out', isMobileOpen ? 'translate-x-0 shadow-2xl' : '-translate-x-full md:translate-x-0', 'border-e border-border/40 bg-white/95 md:bg-white/30 backdrop-blur-md sidebar-shadow dark:border-white/6 dark:bg-[#151515] dark:backdrop-blur-none', @@ -1167,14 +1167,14 @@ export function Sidebar({ className, user }: { className?: string; user?: any }) )} > {/* ── Column 1 : Rail d'icônes (54px) — inspiré du prototype ── */} -
+
{/* Top : Logo + navigation */} -
+
{/* Logo avec dropdown profil */} -
+
M
@@ -1205,7 +1205,7 @@ export function Sidebar({ className, user }: { className?: string; user?: any }) {/* Boutons de navigation principaux */} -
+
{([ { id: 'notebooks', @@ -1269,7 +1269,7 @@ export function Sidebar({ className, user }: { className?: string; user?: any }) )} > {item.isActive && ( -
+
)} - {pathname.startsWith('/settings') &&
} + {pathname.startsWith('/settings') &&
} {t('nav.settings')}