dialog fix

This commit is contained in:
pythongosssss 2024-03-21 21:25:51 +00:00
parent 8ebe857105
commit c3c76dffe8
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,7 @@ export class ComfyAsyncDialog extends ComfyDialog {
constructor(actions) { constructor(actions) {
super( super(
"dialog.comfy-dialog", "dialog.comfy-dialog",
actions.map((opt) => { actions?.map((opt) => {
if (typeof opt === "string") { if (typeof opt === "string") {
opt = { text: opt }; opt = { text: opt };
} }

View File

@ -381,7 +381,6 @@ dialog::backdrop {
} }
.comfy-dialog.comfy-modal { .comfy-dialog.comfy-modal {
top: 0;
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
border-color: var(--bg-color); border-color: var(--bg-color);
box-shadow: none; box-shadow: none;