From ec3bbc78dcc8b4ce5716d0e81f4b7d39567ede30 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Fri, 21 Aug 2026 19:13:38 +0200 Subject: [PATCH] style(layout): tighten the oversized vertical gaps around the page toolbars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The floating-header → toolbar → filter-chips → content stack carried ~2× the whitespace it needed. Halve it, app-wide where the chrome is shared: - PageShell: the --hdr-h gap below the floating header 8px → 4px (every page's header). - Feed: toolbar wrapper pt-4 → pt-2, the toolbar's own pb-3 → pb-1.5, and the grid's top pt-2 → pt-1. Measured on the feed: header→toolbar 24→12px, toolbar→chips 12→6px, chips→cards 12→8px. - Plex / Playlists / ChannelDiscovery / DownloadCenter / Notifications / AdminUsers: toolbar wrapper pt-3 → pt-2, so every page's top band matches the tighter feed. PageShell.dom.test updated for the 4px gap. --- frontend/src/components/AdminUsers.tsx | 2 +- frontend/src/components/ChannelDiscovery.tsx | 2 +- frontend/src/components/DownloadCenter.tsx | 2 +- frontend/src/components/Feed.tsx | 6 +++--- frontend/src/components/NotificationsPanel.tsx | 2 +- frontend/src/components/PageShell.dom.test.tsx | 8 ++++---- frontend/src/components/PageShell.tsx | 8 ++++---- frontend/src/components/Playlists.tsx | 2 +- frontend/src/components/PlexBrowse.tsx | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/AdminUsers.tsx b/frontend/src/components/AdminUsers.tsx index 76e74b0e..445dea8a 100644 --- a/frontend/src/components/AdminUsers.tsx +++ b/frontend/src/components/AdminUsers.tsx @@ -34,7 +34,7 @@ export default function AdminUsers() { <> {/* The tab bar is fixed chrome; the tab content scrolls under it. */} -
+
diff --git a/frontend/src/components/ChannelDiscovery.tsx b/frontend/src/components/ChannelDiscovery.tsx index 4334425c..caa64822 100644 --- a/frontend/src/components/ChannelDiscovery.tsx +++ b/frontend/src/components/ChannelDiscovery.tsx @@ -200,7 +200,7 @@ export default function ChannelDiscovery({ <> {/* Intro + the table controls are fixed chrome; only the table rows scroll (sticky header). */} -
+

{t("channels.discovery.intro")}

{/* Cards has no column headers, so a dropdown drives the sort + a pager (table uses its own). */} {layout === "cards" && ( diff --git a/frontend/src/components/DownloadCenter.tsx b/frontend/src/components/DownloadCenter.tsx index 386d6248..b17c21b7 100644 --- a/frontend/src/components/DownloadCenter.tsx +++ b/frontend/src/components/DownloadCenter.tsx @@ -135,7 +135,7 @@ export default function DownloadCenter() { <> {/* Page title + subtitle + tabs are fixed chrome; the tab content scrolls under them. */} -
+

{t("downloads.page.title")}