From 67c7ca86034bb0c29a91b3580920c55c28c5f4b4 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 13 Jul 2026 15:27:37 -0400 Subject: [PATCH] fix(ui): measure real nav height (--fc-nav-h), stop Explore breadcrumb tucking under nav (#1481) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The app uses a plain sticky TopNav (no v-main), and the nav's height was hardcoded as 64px in ~6 places: the Explore + Subscriptions full-height workspaces (height: calc(100vh - 64px)) and every sticky sub-header pinned beneath the nav (top: 64px — Gallery filter bar, Browse/Series/Settings tabs). Vuetify 4's MD3 sizing changed the real nav height, so 64px was wrong: the Explore workspace was sized taller than the space below the nav, overflowed the viewport, and its breadcrumb tucked under the (taller) nav on 1080p. TopNav now measures its own height via ResizeObserver and publishes it as --fc-nav-h on documentElement (default 64px in app.css). Every consumer uses var(--fc-nav-h) instead of the magic number, so the layout self-corrects to the nav's real height and stays correct as it reflows (per-view teleported actions, mobile breakpoint). Also tightens the new chrome-gradient seam — sub-headers now pin at the nav's exact bottom. Co-Authored-By: Claude Opus 4.8 (1M context) --- frontend/src/components/TopNav.vue | 24 ++++++++++++++++--- .../components/gallery/GalleryFilterBar.vue | 2 +- frontend/src/styles/app.css | 7 ++++++ frontend/src/views/BrowseView.vue | 2 +- frontend/src/views/ExploreView.vue | 7 ++++-- frontend/src/views/SeriesView.vue | 2 +- frontend/src/views/SettingsView.vue | 2 +- frontend/src/views/SubscriptionsView.vue | 4 ++-- 8 files changed, 39 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/TopNav.vue b/frontend/src/components/TopNav.vue index eaaedd6..1b1efbd 100644 --- a/frontend/src/components/TopNav.vue +++ b/frontend/src/components/TopNav.vue @@ -1,5 +1,5 @@