From 030baac309affc814600426bfdd60a85c40754e3 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sun, 28 Jun 2026 13:44:02 +0000 Subject: [PATCH] =?UTF-8?q?fix(sidebar):=20largeur=20w-80=20fixe=20(=C3=A9?= =?UTF-8?q?tait=20w-72=20sous=201024px)=20+=20spacing=20prototype?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - w-72 lg:w-80 → w-80 (32px de plus sous 1024px, aligné prototype) - py-4 → py-5 (rail plus aéré) - gap-3 → gap-[18px] (logo→nav) - gap-1.5 → gap-2 (boutons nav) - mb-1 → mb-2 (logo) - w-[3px] → w-1 (indicateur actif plus visible) --- memento-note/components/sidebar.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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')}