From fcf1821a62f151043df524deb111cadc4126e877 Mon Sep 17 00:00:00 2001 From: Claudomator Agent Date: Mon, 6 Jul 2026 10:27:39 +0000 Subject: fix(web): restore running-log 300px height and close streams on card removal CSS cascade fix: .task-log-tail.running-log combinator overrides .task-log-tail's 90px max-height for RUNNING/BLOCKED cards, restoring the intended 300px prominent log panel. Closes EventSource streams in taskLogStreams when cards are removed from the board. Co-Authored-By: Claude Sonnet 4.6 --- web/app.js | 4 ++++ web/style.css | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'web') diff --git a/web/app.js b/web/app.js index 85632c2..65f561b 100644 --- a/web/app.js +++ b/web/app.js @@ -782,6 +782,10 @@ function renderTasksIntoContainer(tasks, container, emptyMsg) { // Remove cards for tasks no longer in this list for (const [id, card] of existingCards.entries()) { if (!taskIds.has(id)) { + if (taskLogStreams[id]) { + taskLogStreams[id].source.close(); + delete taskLogStreams[id]; + } card.remove(); existingCards.delete(id); } diff --git a/web/style.css b/web/style.css index f8ed1e7..8db65aa 100644 --- a/web/style.css +++ b/web/style.css @@ -2229,6 +2229,10 @@ dialog label select:focus { word-break: break-word; } +.task-log-tail.running-log { + max-height: 300px; +} + .task-log-tail-placeholder { color: var(--text-muted); font-size: 0.8rem; -- cgit v1.2.3