From 8347c90235b5b8c28cec6930413561c7222cbf08 Mon Sep 17 00:00:00 2001 From: Giorgio Gilestro Date: Fri, 29 May 2026 12:58:06 +0200 Subject: [PATCH] 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 --- app/static/css/log-chat.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/static/css/log-chat.css b/app/static/css/log-chat.css index 895953b..0ca7954 100644 --- a/app/static/css/log-chat.css +++ b/app/static/css/log-chat.css @@ -10,8 +10,13 @@ color: var(--text); max-width: 76ch; margin: 0 auto; - max-height: calc(100vh - 240px); - overflow-y: auto; + /* No max-height cap here — the dashboard's log panel now stretches in + 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 h1, .log-content h2, .log-content h3, .log-content h4 {