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.
This commit is contained in:
Muhammed Yusuf 2023-09-02 09:58:23 +03:00 committed by GitHub
parent 7931ff0fd9
commit 7891d13329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 4 deletions

View File

@ -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 {
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", {

View File

@ -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;