From b661e76d670789d1fa75579eaa21f0ce37f82d99 Mon Sep 17 00:00:00 2001 From: Sam Dornan Date: Wed, 16 Sep 2026 16:38:19 -0500 Subject: [PATCH] fix(v2): stop the layout's min-height leaking into the gallery shell AppLayout and GalleryShell both used `.r-v2-shell`. Vue copies a parent scope id onto a child component's root element, so AppLayout's `min-height: 100dvh` matched the gallery `
` and beat its `height: calc(100dvh - var(--r-nav-h))`, leaving the section a full viewport tall. Since `
` already reserves `--r-nav-h`, every gallery route overflowed the document by 58px, with the bottom of the virtual scroller below the fold. Rename the layout block to `r-v2-app-shell` so the two cannot collide, matching the unique blocks already used by SettingsLayout and IndexShell. Co-Authored-By: Claude Sonnet 5 --- .../src/v2/components/AppShell/BottomNav.vue | 2 +- frontend/src/v2/layouts/AppLayout.vue | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/frontend/src/v2/components/AppShell/BottomNav.vue b/frontend/src/v2/components/AppShell/BottomNav.vue index 0d7117dd2..93ec1f636 100644 --- a/frontend/src/v2/components/AppShell/BottomNav.vue +++ b/frontend/src/v2/components/AppShell/BottomNav.vue @@ -41,7 +41,7 @@ const { destinations, activeId } = useNavDestinations();