ui: fix chat container height to enable scrolling and history fetch; no code changes to SSE broadcaster (already present)
This commit is contained in:
parent
6cf4219782
commit
7eea39310a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 { 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 { display:block; padding:.25rem .5rem; border-radius:.25rem; text-decoration:none; }
|
||||||
aside.sidebar a.active { background: var(--muted-color); color: var(--contrast); }
|
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; }
|
#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; }
|
.ts { opacity: .66; }
|
||||||
.msg { margin-bottom: .25rem; }
|
.msg { margin-bottom: .25rem; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue