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; }