From ee9d6650a2a3bf31d007e9e9b9efd9c1e55ebb0a Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sat, 4 Jul 2026 23:16:03 +0000 Subject: [PATCH] =?UTF-8?q?fix(sidebar):=20largeur=20md=3D26rem=20(416px)?= =?UTF-8?q?=20=E2=80=94=20=C3=A9cart=20clairement=20visible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit L'écart précédent (320->352, +32px) était imperceptible. La sidebar étant ancrée dès md (768px), on applique une largeur franche à ce breakpoint pour un résultat indiscutable : - < 768px (mobile overlay) : w-80 (320px) - >= 768px : w-[26rem] (416px) [+96px] - >= 1536px : w-[30rem] (480px) Co-authored-by: Cursor --- memento-note/app/(main)/layout.tsx | 2 +- memento-note/components/sidebar.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/memento-note/app/(main)/layout.tsx b/memento-note/app/(main)/layout.tsx index db5e726..321ae86 100644 --- a/memento-note/app/(main)/layout.tsx +++ b/memento-note/app/(main)/layout.tsx @@ -37,7 +37,7 @@ export default async function MainLayout({ > {/* No top-bar header — sidebar-only navigation (architectural-grid design) */}
- }> + }> diff --git a/memento-note/components/sidebar.tsx b/memento-note/components/sidebar.tsx index bead183..d67054e 100644 --- a/memento-note/components/sidebar.tsx +++ b/memento-note/components/sidebar.tsx @@ -1182,7 +1182,7 @@ export function Sidebar({ className, user }: { className?: string; user?: any }) isImmersiveRoute && userCollapsed ? 'fixed inset-y-0 start-0 z-[70]' : 'fixed inset-y-0 start-0 z-[70] md:relative md:z-auto', - 'h-full min-h-0 w-80 md:w-[22rem] lg:w-[26rem] 2xl:w-[30rem] shrink-0 flex flex-row overflow-hidden self-stretch', + 'h-full min-h-0 w-80 md:w-[26rem] 2xl:w-[30rem] shrink-0 flex flex-row overflow-hidden self-stretch', 'transition-transform duration-300 ease-in-out', isImmersiveRoute && userCollapsed ? '-translate-x-full'