From 48461270ecb95b21f317f98bbc0ea11fe5a2b379 Mon Sep 17 00:00:00 2001 From: Ncbudd Date: Fri, 27 Nov 2026 07:31:51 -0500 Subject: [PATCH] fix(lumen): tidy Manage sheets, Issues filters and admin columns (SeerrNG #741) --- lumen/src/pages/Issues.tsx | 1 + lumen/src/styles/app.css | 40 +++++++++++++++++++++++++++++++++++++- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/lumen/src/pages/Issues.tsx b/lumen/src/pages/Issues.tsx index 69dd672..8a4a839 100644 --- a/lumen/src/pages/Issues.tsx +++ b/lumen/src/pages/Issues.tsx @@ -616,6 +616,7 @@ function IssueList() { return ( <>
{ event.preventDefault(); const form = new FormData(event.currentTarget); diff --git a/lumen/src/styles/app.css b/lumen/src/styles/app.css index 3f8f4e6..5478a96 100644 --- a/lumen/src/styles/app.css +++ b/lumen/src/styles/app.css @@ -3022,7 +3022,10 @@ section section, gap: 28px 24px; align-items: start; } -.admin-groups > section { +/* Grid items take no stacking margin. The generic section gap + (`:not(.view) > :is(...) + :is(section, details.adv)`, specificity 0,3,2) + otherwise pushed the second column's first group 28px down. */ +main .admin-groups.admin-groups > section:is(section, details.adv) { margin: 0; } /* Long pick lists (streaming services, categories): a compact grid of checkboxes @@ -3512,3 +3515,38 @@ details:not(.adv)[open] > * + * { width: 80px; } } + +/* Manage sheets: the grouped sections (section.card) and per-quality blocks + (div.card) had only browser defaults, so headings carried ~20px margins on + both sides and the gaps between groups ran to ~50px */ +.sheet section.card > h4 { + margin: 0 0 10px; +} +.sheet section.card + section.card { + margin-top: 24px; +} +.sheet .card-list { + margin: 6px 0 0; + padding-left: 20px; +} +.sheet div.card + div.card { + margin-top: 14px; +} +.sheet div.card > .note { + margin: 6px 0 0; +} + +/* Issues: the filter groups sit in one wrapping row; an opened group takes the + full width so its controls get room */ +form.issue-filters { + display: flex; + flex-wrap: wrap; + gap: 8px; + align-items: flex-start; +} +form.issue-filters > details[open] { + flex: 1 1 100%; +} +form.issue-filters > :not(details) { + flex: 1 1 100%; +}