From bfa70c1d17c8f2e5b895cce9f6c4391545fd7ff0 Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Mon, 30 Nov 2026 20:42:04 +0100 Subject: [PATCH] /can.html: two columns from 900px, the frames at least 560px wide (their data in view), the left column the rest --- views/can.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/can.erb b/views/can.erb index 3f2f2c8..4159d10 100644 --- a/views/can.erb +++ b/views/can.erb @@ -26,7 +26,9 @@ /* side by side when there's room, the frames under the rest on a phone */ .cols { display: grid; gap: 0 32px; } .cols > div { min-width: 0; } - @media (min-width: 1100px) { .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } } + /* the frames get at least 560px (their data in view), the left column + the rest up to its tables' width — each scrolls sideways if narrower */ + @media (min-width: 900px) { .cols { grid-template-columns: minmax(0, max-content) minmax(560px, 1fr); } } /* a byte that just changed, fading out over CHANGED_FOR */ /* a fixed width: the column doesn't jump when a node goes "silent" */ #nodes th:nth-child(2), #nodes td:nth-child(2) { width: 9em; min-width: 9em; }