Skip to content

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

Size multiline form textareas to their content and place footer last

Fei2411c8dc09de84c3
diff --git a/ds-bot/client.js b/ds-bot/client.js
index 0f357f91..17273043 100644
--- a/ds-bot/client.js
+++ b/ds-bot/client.js
@@ -11516,6 +11516,11 @@ var CONNECTOR_CSS = `
.dv-menu.bt-mail-rule-menu button{justify-content:space-between;gap:12px}
.bt-mail-rule-item-text{flex:1 1 auto;min-width:0}
.bt-mail-rules{display:flex;flex-direction:column;gap:8px}
+.dv-widget-stack:has(>.dv-widget-form){gap:8px}
+.dv-widget-stack>.dv-widget-form{display:contents}
+.dv-widget-stack>.dv-widget-form>.dv-q-foot{order:2;padding-top:4px}
+.dv-widget-field[data-multiline] .dv-q-field{flex:1 1 auto}
+.dv-q-textarea{field-sizing:content;min-height:66px;max-height:240px;overflow-y:auto;line-height:22px}
`;
// src/client/turn-reasoning.js
diff --git a/ds-bot/src/client/connectors.js b/ds-bot/src/client/connectors.js
index 6bd63a35..a1eabb55 100644
--- a/ds-bot/src/client/connectors.js
+++ b/ds-bot/src/client/connectors.js
@@ -644,4 +644,9 @@ export const CONNECTOR_CSS = `
.dv-menu.bt-mail-rule-menu button{justify-content:space-between;gap:12px}
.bt-mail-rule-item-text{flex:1 1 auto;min-width:0}
.bt-mail-rules{display:flex;flex-direction:column;gap:8px}
+.dv-widget-stack:has(>.dv-widget-form){gap:8px}
+.dv-widget-stack>.dv-widget-form{display:contents}
+.dv-widget-stack>.dv-widget-form>.dv-q-foot{order:2;padding-top:4px}
+.dv-widget-field[data-multiline] .dv-q-field{flex:1 1 auto}
+.dv-q-textarea{field-sizing:content;min-height:66px;max-height:240px;overflow-y:auto;line-height:22px}
`