From ce1a13801fe17bd6381e31000b8e4b6d0dc7be34 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sat, 4 Jul 2026 22:20:16 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20sidebar=20h-screen=20+=20self-stretch=20?= =?UTF-8?q?=E2=80=94=20va=20jusqu'en=20bas=20en=20prod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit h-full dépendait du parent pour la hauteur — ne cascadaît pas en prod. h-screen (100vh) + self-stretch force la hauteur pleine indépendamment. Suspense fallback aussi mis à h-screen pour éviter le flash. --- 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 9bfe4ec..b37e2be 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 6169248..28f5059 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 xl:w-[22rem] 2xl:w-[26rem] shrink-0 flex flex-row overflow-hidden', + 'h-screen min-h-0 w-80 xl:w-[22rem] 2xl:w-[26rem] shrink-0 flex flex-row overflow-hidden self-stretch', 'transition-transform duration-300 ease-in-out', isImmersiveRoute && userCollapsed ? '-translate-x-full'