diff --git a/web/scripts/ui.js b/web/scripts/ui.js index 86e2a1c4..8611c248 100644 --- a/web/scripts/ui.js +++ b/web/scripts/ui.js @@ -617,7 +617,10 @@ export class ComfyUI { ]), ]), $el("div", {id: "extraOptions", style: {width: "100%", display: "none"}}, [ - $el("label", {innerHTML: "Batch count"}, [ + $el("div",[ + + $el("label", {innerHTML: "Batch count"}), + $el("input", { id: "batchCountInputNumber", type: "number", @@ -639,14 +642,23 @@ export class ComfyUI { this.batchCount = i.srcElement.value; document.getElementById("batchCountInputNumber").value = i.srcElement.value; }, + }), + ]), + + $el("div",[ + $el("label",{ + for:"autoQueueCheckbox", + innerHTML: "Auto Queue" + // textContent: "Auto Queue" }), $el("input", { id: "autoQueueCheckbox", type: "checkbox", checked: false, - title: "automatically queue prompt when the queue size hits 0", + title: "Automatically queue prompt when the queue size hits 0", + }), - ]), + ]) ]), $el("div.comfy-menu-btns", [ $el("button", { diff --git a/web/style.css b/web/style.css index 5b6b9ec5..692fa31d 100644 --- a/web/style.css +++ b/web/style.css @@ -88,7 +88,7 @@ body { top: 50%; right: 0; text-align: center; - z-index: 100; + z-index: 999; width: 170px; display: flex; flex-direction: column;