diff --git a/web/scripts/ui.js b/web/scripts/ui.js index 4ef24e00..6999c0a7 100644 --- a/web/scripts/ui.js +++ b/web/scripts/ui.js @@ -431,7 +431,7 @@ export class ComfyUI { }); this.menuContainer = $el("div.comfy-menu", { parent: document.body }, [ - $el("div", { style: { overflow: "hidden", position: "relative", width: "100%" } }, [ + $el("div.drag-handle", { style: { overflow: "hidden", position: "relative", width: "100%", cursor: "default" } }, [ $el("span.drag-handle"), $el("span", { $: (q) => (this.queueSize = q) }), $el("button.comfy-settings-btn", { textContent: "⚙️", onclick: () => this.settings.show() }), diff --git a/web/style.css b/web/style.css index d347bd45..27bb83bb 100644 --- a/web/style.css +++ b/web/style.css @@ -72,13 +72,10 @@ body { } .comfy-menu { - width: 200px; font-size: 15px; position: absolute; top: 50%; right: 0%; - background-color: white; - color: #000; text-align: center; z-index: 100; width: 170px;