fix(webui): adapt chat toolbar to available width (#5760)

* fix(webui): float chat controls above the transcript

* fix(webui): keep floating controls compact and flat

* fix(webui): adapt toolbar placement to conversation width

* refactor(webui): simplify responsive toolbar styles
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-14 15:25:13 +08:00
1 parent 95b2346ea5
commit f611c880f9
6 files changed
+67 -24

No files matched your search

+11
View File
@@ -604,6 +604,17 @@
}
}
.thread-workspace {
container: thread-workspace / inline-size;
}
/* Keep room for the 49.5rem message column and controls in the side margin. */
@container thread-workspace (max-width: 72rem) {
.thread-workspace > * {
--thread-header-position: relative;
--thread-prompt-inset: 1rem;
}
}
.workbench-pane {
transform-origin: top left;
}