From 71bbf35f5af8517fdf187f2f02d6ede48b98335b Mon Sep 17 00:00:00 2001 From: npeter83 Date: Tue, 11 Aug 2026 02:53:55 +0200 Subject: [PATCH] fix(ux): dock filter tab flush to the nav + reliable full-viewport plex backdrop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-ups on the 7-item batch: - The slim nav slot was still w-20 while its card is w-14, leaving a ~24px dead gap the filter tab/bar couldn't dock against. Slot is now w-14 (exactly the card width), so the filter's flat-left tab sits flush on the rail's right edge (measured gap 0), both collapsed and expanded. - The Plex art backdrop was invisible: a position:fixed layer at z-index -1 is painted BEHIND the body's opaque background here, so nothing showed. Paint the art on the app root (#root) instead — it's exactly the viewport and a real ancestor of the transparent nav/header/content, so the art fills the whole page edge-to-edge and the glass chrome floats over it (verified in-browser). --- frontend/src/components/NavSidebar.tsx | 3 +- frontend/src/lib/plexDetailUi.tsx | 45 +++++++++++++++++--------- 2 files changed, 31 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/NavSidebar.tsx b/frontend/src/components/NavSidebar.tsx index a2e5d286..c78ca683 100644 --- a/frontend/src/components/NavSidebar.tsx +++ b/frontend/src/components/NavSidebar.tsx @@ -201,7 +201,8 @@ export default function NavSidebar({ // Layout slot: reserves only the slim footprint when unpinned, so the expanded rail (below) // overlays content instead of pushing it. Pinned reserves the full width (in-flow). // Slim icon rail, flush against the left viewport edge (only top/bottom margin), never grows. -
+ // The slot is exactly the card's width so the filter tab/bar docks flush against its right edge. +