Unverified Commit 7891d133 authored by Muhammed Yusuf's avatar Muhammed Yusuf Committed by GitHub
Browse files

Added label for autoQueueCheckbox. (#1295)

* Added label for autoQueueCheckbox.

* Menu gets behind of some custom nodes.

* Edited extraOptions.
Options divided in to different divs to manage them with ease.
parent 7931ff0f
...@@ -617,7 +617,10 @@ export class ComfyUI { ...@@ -617,7 +617,10 @@ export class ComfyUI {
]), ]),
]), ]),
$el("div", {id: "extraOptions", style: {width: "100%", display: "none"}}, [ $el("div", {id: "extraOptions", style: {width: "100%", display: "none"}}, [
$el("label", {innerHTML: "Batch count"}, [ $el("div",[
$el("label", {innerHTML: "Batch count"}),
$el("input", { $el("input", {
id: "batchCountInputNumber", id: "batchCountInputNumber",
type: "number", type: "number",
...@@ -640,13 +643,22 @@ export class ComfyUI { ...@@ -640,13 +643,22 @@ export class ComfyUI {
document.getElementById("batchCountInputNumber").value = i.srcElement.value; document.getElementById("batchCountInputNumber").value = i.srcElement.value;
}, },
}), }),
]),
$el("div",[
$el("label",{
for:"autoQueueCheckbox",
innerHTML: "Auto Queue"
// textContent: "Auto Queue"
}),
$el("input", { $el("input", {
id: "autoQueueCheckbox", id: "autoQueueCheckbox",
type: "checkbox", type: "checkbox",
checked: false, 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("div.comfy-menu-btns", [
$el("button", { $el("button", {
......
...@@ -88,7 +88,7 @@ body { ...@@ -88,7 +88,7 @@ body {
top: 50%; top: 50%;
right: 0; right: 0;
text-align: center; text-align: center;
z-index: 100; z-index: 999;
width: 170px; width: 170px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment