read.markets/app/static/css
Giorgio Gilestro 652995feea ui: log panel bottom-aligns with portfolio via contain:size
Third attempt at fixing the dashboard's right-column alignment, this
time with the structural cause identified explicitly.

Previous attempts (a55168d, 8347c90) changed align-self on #log-panel
to control how the panel filled its grid area. They got the box
edges aligned, but the underlying problem was a different one:
CSS Grid auto-sizes each row by MAX(intrinsic content height across
items in that row). When the log content is taller than indicators +
portfolio combined, the grid grows rows 2-3 to fit it; portfolio
ends up in a stretched row with empty space below the actual content.

The fix is to stop the log's content from contributing to the grid
row sizing at all. `contain: size` on the log panel declares "my
contents do not affect my intrinsic size" — the grid then sizes rows
2-3 from indicators + portfolio alone, and the log stretches to
inhabit that combined height. A flex column inside the panel
(min-height: 0 on every level of the chain) lets .panel-body fill
the remaining height below the header and scroll instead of
overflowing.

The 1100px mobile breakpoint undoes the constraint: at that width
the grid restructures to a single column, the log no longer shares
a row with indicators + portfolio, and `contain: size` would just
collapse the panel to zero. There the log expands naturally and
page scroll handles it.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 14:56:11 +02:00
..
auth.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
dashboard.css mobile: wrap tabs, trim portfolio + markets bar columns 2026-05-28 19:10:58 +02:00
layout.css ui: log panel bottom-aligns with portfolio via contain:size 2026-05-29 14:56:11 +02:00
log-chat.css ui: drop log-content's fixed-viewport scroll cap 2026-05-29 12:58:06 +02:00
news.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
panels.css mobile: clamp grid items + table cells to viewport width 2026-05-28 19:02:30 +02:00
portfolio.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
public.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
settings.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
tokens.css css: split cassandra.css into per-section files 2026-05-28 12:31:29 +02:00