Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Keep the Bot side panels below the Windows caption buttons

Fei2411d57d873634d5
diff --git a/ds-bot/client.js b/ds-bot/client.js
index d97cd23c..2ce04520 100644
--- a/ds-bot/client.js
+++ b/ds-bot/client.js
@@ -2440,6 +2440,9 @@ button.bt-q-opt:active{background:var(--bt-active)}
.bt-send:disabled{opacity:.35;cursor:default}
.bt-error{padding:0 14px 10px;color:var(--bt-danger);font-size:12px}
+/* Side panels stay clear of the Windows caption buttons; a host may set the chrome top to 0
+ so that dialog masks also cover the caption band. */
+html[data-windows-titlebar]:not([data-fullscreen]) :is(.bt-pane,.bt-panel){top:var(--dsh-windows-titlebar-height,0px)}
.bt-pane{position:fixed;top:var(--dsh-frame-chrome-top,0px);right:0;bottom:0;z-index:45;pointer-events:auto;background:var(--bt-main);color:var(--bt-ink);display:flex;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
.bt-dialog{flex:1;display:flex;flex-direction:column;min-width:0}
.bt-dialog .bt-head{height:62px}
diff --git a/ds-bot/src/client/styles.js b/ds-bot/src/client/styles.js
index 6a0a541b..5730ede1 100644
--- a/ds-bot/src/client/styles.js
+++ b/ds-bot/src/client/styles.js
@@ -314,6 +314,9 @@ button.bt-q-opt:active{background:var(--bt-active)}
.bt-send:disabled{opacity:.35;cursor:default}
.bt-error{padding:0 14px 10px;color:var(--bt-danger);font-size:12px}
+/* Side panels stay clear of the Windows caption buttons; a host may set the chrome top to 0
+ so that dialog masks also cover the caption band. */
+html[data-windows-titlebar]:not([data-fullscreen]) :is(.bt-pane,.bt-panel){top:var(--dsh-windows-titlebar-height,0px)}
.bt-pane{position:fixed;top:var(--dsh-frame-chrome-top,0px);right:0;bottom:0;z-index:45;pointer-events:auto;background:var(--bt-main);color:var(--bt-ink);display:flex;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
.bt-dialog{flex:1;display:flex;flex-direction:column;min-width:0}
.bt-dialog .bt-head{height:62px}