From 7eea39310a56799757f780c49b5f0cb1e65c041f Mon Sep 17 00:00:00 2001 From: Thomas Cravey Date: Sat, 16 Aug 2025 20:48:58 -0500 Subject: [PATCH] ui: fix chat container height to enable scrolling and history fetch; no code changes to SSE broadcaster (already present) --- internal/httpapi/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/httpapi/server.go b/internal/httpapi/server.go index 1661085..e908d91 100644 --- a/internal/httpapi/server.go +++ b/internal/httpapi/server.go @@ -308,7 +308,7 @@ func (s *Server) handleUI(w http.ResponseWriter, r *http.Request) { aside.sidebar { border-right: 1px solid var(--muted-border-color); padding: .75rem; overflow-y: auto; } aside.sidebar a { display:block; padding:.25rem .5rem; border-radius:.25rem; text-decoration:none; } aside.sidebar a.active { background: var(--muted-color); color: var(--contrast); } - section.chat { padding: .75rem 1rem; display:flex; flex-direction: column; } + section.chat { padding: .75rem 1rem; display:flex; flex-direction: column; height: calc(100vh - 3.5rem); } #tail { flex: 1; overflow: auto; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; } .ts { opacity: .66; } .msg { margin-bottom: .25rem; }