From 1aed9cdae51f18a3e950a579cc83ffbcbb641b7d Mon Sep 17 00:00:00 2001 From: Chris Dumas Date: Thu, 15 Oct 2026 09:33:29 +0000 Subject: [PATCH] Fill sequence editor widget width --- web/sequence_prompt_builder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/sequence_prompt_builder.js b/web/sequence_prompt_builder.js index 8bd7ec6..91aae06 100644 --- a/web/sequence_prompt_builder.js +++ b/web/sequence_prompt_builder.js @@ -34,8 +34,8 @@ function configure(node) { if (!countWidget || !secondsWidget || !stateWidget) return; hide(stateWidget); const panel = el("div"); - panel.style.cssText = "box-sizing:border-box;min-width:420px;padding:9px;color:#d9e3dc;background:#292929;border:1px solid #454545;border-radius:4px;font:12px Arial;pointer-events:auto"; - const host = el("div"); host.style.cssText = "pointer-events:auto;background:#292929"; host.append(panel); + panel.style.cssText = "box-sizing:border-box;width:calc(100% + 14px);margin-left:-7px;min-width:420px;padding:9px;color:#d9e3dc;background:#292929;border:1px solid #454545;border-radius:4px;font:12px Arial;pointer-events:auto"; + const host = el("div"); host.style.cssText = "pointer-events:auto;background:#292929;width:100%"; host.append(panel); ["pointerdown", "mousedown", "mouseup", "dblclick"].forEach((name) => host.addEventListener(name, (event) => event.stopPropagation())); const display = node.addDOMWidget("clip_tabs", "dumas_h3_clip_tabs", host, { serialize: false }); display.options ||= {}; display.options.serialize = false;