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) {
super(
"dialog.comfy-dialog",
actions.map((opt) => {
actions?.map((opt) => {
if (typeof opt === "string") {
opt = { text: opt };
}

View File

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