From 36b5724b7270b806a70ebe76bb9adef62e2ea035 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sat, 4 Jul 2026 22:40:03 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20sidebar=20hauteur=20=E2=80=94=20cha?= =?UTF-8?q?=C3=AEne=20de=20d=C3=A9pendance=20au=20lieu=20de=20100vh=20redo?= =?UTF-8?q?ndant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root cause (expert analysis): h-screen sur aside ET parent = 2 calculs 100vh indépendants → 1px de différence en prod (subpixel, scrollbar). Fix: - aside: h-screen → h-full (dépend du parent, 1 seule source 100vh) - body: h-screen overflow-hidden (verrouille le viewport, empêche scroll parasite) - Suspense fallback: h-screen → h-full (cohérent) --- memento-note/app/(main)/layout.tsx | 2 +- memento-note/app/layout.tsx | 2 +- memento-note/components/sidebar.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/memento-note/app/(main)/layout.tsx b/memento-note/app/(main)/layout.tsx index b37e2be..adaa99c 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/app/layout.tsx b/memento-note/app/layout.tsx index 6192188..54395c7 100644 --- a/memento-note/app/layout.tsx +++ b/memento-note/app/layout.tsx @@ -97,7 +97,7 @@ export default async function RootLayout({ data-server-accent={serverAccent} style={htmlStyle} > - +