Skip to content

Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.

gui: the tray panel's header is fitted without a .side-top

yetone6db21d86946e
diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js
index 073dabce9..77795837a 100644
--- a/internal/gui/assets/app.js
+++ b/internal/gui/assets/app.js
@@ -23591,9 +23591,12 @@ matchMedia("(max-width: 760px), (pointer: coarse) and (max-width: 1024px)").addE
// further still when they don't fit (the 560px window at 150%).
function fitTop() {
const top = $(".top"), nav = $("#nav"), brand = $(".brand"), actions = $(".actions");
+ // the tray panel has no sidebar, so no .side-top
const st = $(".side-top");
- st.classList.remove("tight");
- st.classList.toggle("tight", st.scrollWidth > st.clientWidth);
+ if (st) {
+ st.classList.remove("tight");
+ st.classList.toggle("tight", st.scrollWidth > st.clientWidth);
+ }
// a phone's browser: the tabs have a row of their own (app.css), at their size;
// and beside the sidebar the header holds only where the reader is and the icons
if (phoneWeb() || sideNav()) { top.classList.remove("tight", "cramped", "inrow", "crowded", "packed"); return; }