From edbc9dede55db7ffb697e4551e7d6506a2abf8ce Mon Sep 17 00:00:00 2001 From: npeter83 Date: Fri, 21 Aug 2026 22:08:23 +0200 Subject: [PATCH] style(header): centre the search-box group over the page content The floating header band already centres on --content-mw (the width the page's cards use), but its search box + scope-toggle/sync-chip group was packed to the left edge (default justify-start), leaving it offset from the centred card grid on max-width pages (Plex/Channels/Playlists). Add justify-center to the band so the group centres within it: once the column is wider than the box's max-w, the box sits centred over the cards instead of hugging the left edge. Shared header row, so it applies to every module with a SearchBar. Verified at 1920px on Plex: group centre == content-band centre (431px margin each side). --- frontend/src/components/Header.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 771dd8de..d373b7ae 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -90,10 +90,12 @@ const Header = forwardRef<
{search} {/* Library scope (movie/show/both) sits right of the search box on Plex — relocated here from