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

View File

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