ui: drop log-content's fixed-viewport scroll cap

The dashboard's log panel now stretches in the grid to bottom-align
with the portfolio (a55168d), but .log-content still carried
max-height: calc(100vh - 240px) + overflow-y: auto from an older
layout. That produced an inner scrollbar inside the panel AND left
visible dead space below the scrolling region. Removing the cap lets
the panel grid handle the height and the page scroll handle very long
logs; no more nested scroll region.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Giorgio Gilestro 2026-05-29 12:58:06 +02:00
parent a55168d20a
commit 8347c90235

View file

@ -10,8 +10,13 @@
color: var(--text); color: var(--text);
max-width: 76ch; max-width: 76ch;
margin: 0 auto; margin: 0 auto;
max-height: calc(100vh - 240px); /* No max-height cap here the dashboard's log panel now stretches in
overflow-y: auto; the grid to match the left column's bottom (see #log-panel in
layout.css). A constrained max-height was producing an awkward
inner scrollbar AND leaving dead space below it inside the panel.
With the cap gone the content sits at the panel's top, the panel
grows or shrinks with the grid, and the regular page scroll
handles very long logs. */
} }
.log-content p { margin: 0 0 1.1em; } .log-content p { margin: 0 0 1.1em; }
.log-content h1, .log-content h2, .log-content h3, .log-content h4 { .log-content h1, .log-content h2, .log-content h3, .log-content h4 {