From bd7452db8f1f6b5dab6030d863a08dae68e0d217 Mon Sep 17 00:00:00 2001 From: rays Date: Tue, 17 Nov 2026 14:57:38 +0000 Subject: [PATCH] Now Playing covers the feeds and the list, not a row above them (#475) As a grid item of #shell the sheet took a row of its own and pushed the sidebar and the list into a second one; it is laid over the shell instead. Co-Authored-By: Claude Opus 5.5 --- web/app.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/app.css b/web/app.css index ba4b8c9..1f4ae82 100644 --- a/web/app.css +++ b/web/app.css @@ -509,7 +509,7 @@ a{color:var(--accent)} ::-webkit-scrollbar-track{background:transparent} /* ---------- shell ---------- */ -#shell{display:grid;grid-template-columns:290px 1fr;min-height:0;min-width:0;overflow:hidden} +#shell{display:grid;grid-template-columns:290px 1fr;min-height:0;min-width:0;overflow:hidden;position:relative} /* [ hides the feed list. A phone slides it over the page instead, so this is for wider screens. */ @media (min-width:821px){ body.nosb #shell{grid-template-columns:minmax(0,1fr)} @@ -698,9 +698,9 @@ body.scan-this .fhead [data-a=scan] .i,body.scan-any .fhead [data-a=scanall] .i, #listening .childrow:not(.now) .eq,#nowqueue .childrow:not(.now) .eq{display:none} /* Now Playing (#475): over the feeds and the list, above the player bar, which keeps the controls. The artwork is the one large thing on the page. */ -#nowsheet{grid-row:1;grid-column:1/-1;z-index:30;overflow:auto;background:var(--bg); - padding:22px max(16px,calc((100% - 720px)/2)) 32px;position:relative} -#nowclose{position:absolute;top:14px;right:max(12px,calc((100% - 720px)/2 - 44px))} +#nowsheet{position:absolute;inset:0;z-index:30;overflow:auto;background:var(--bg); + padding:22px max(16px,calc((100% - 720px)/2)) 32px} +#nowclose{position:sticky;float:right;top:0;margin:-8px -4px 0 0;right:max(12px,calc((100% - 720px)/2 - 44px))} .nowhead{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:24px;align-items:end;margin:10px 0 26px} .nowhead .nowart{width:100%;height:auto;aspect-ratio:1;border-radius:14px;font-size:56px} .nowmeta{display:flex;flex-direction:column;gap:6px;min-width:0}