From bc4af45c01400c1dee34c8e5c984fd127eeba7e7 Mon Sep 17 00:00:00 2001 From: martbost Date: Wed, 4 Nov 2026 19:08:42 -0600 Subject: [PATCH] Banner Spin and its stats tables switch to compact rows on the TABLE's width, not the window's (Marty 2026-11-04 screenshot: beside the link list and the rail, a desktop window left the banner column a few letters wide and the data ran down the left edge). Same container-query pattern as the destinations table (10-21) Co-Authored-By: Claude Opus 5.5 --- public/links.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/public/links.html b/public/links.html index 162f107..27b19cd 100644 --- a/public/links.html +++ b/public/links.html @@ -85,6 +85,23 @@ .tierbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12.5px} .modes{display:grid;gap:8px} .modes label{display:flex;gap:8px;align-items:flex-start;cursor:pointer} .modes input{margin-top:3px} .bsr .ml{display:none} +/* Same as .dest: switch on the TABLE's width, not the window's. Beside the link list and the rail a desktop window left the + banner column a few letters wide (Marty, 11-04: "the data is all in the left column"). */ +.tbl.bsr,.tbl.st3{container-type:inline-size} +@container (max-width:860px){ + .bsr .hd{display:none} + .bsr .ml{display:inline;color:var(--muted);font-size:11px} + .bsr .rw:not(.edit){grid-template-columns:repeat(auto-fit,minmax(110px,1fr))} + .bsr .rw:not(.edit)>:first-child{grid-column:1/-1} + .bsr .rw .r{text-align:left} +} +@container (max-width:640px){ + .st3 .hd{display:none} + .st3 .ml{display:inline;color:var(--muted);font-size:11px} + .st3 .rw{grid-template-columns:1fr 1fr 1fr} + .st3 .rw>:first-child{grid-column:1/-1} + .st3 .rw .r{text-align:left} +} .st3 .hd,.st3 .rw{grid-template-columns:minmax(0,2fr) 80px 70px 70px 64px 74px 56px} .st3 .ml{display:none} .bhl{font-size:11.5px} .bswin{background:var(--ok);color:var(--ok-ink);border-radius:3px;padding:1px 6px;font-size:10px;font-weight:700;letter-spacing:.06em;margin-left:6px;vertical-align:middle} .bscache{display:block;margin-top:3px;font-size:11px;color:var(--warn)} .bsbreak{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}