From 8b39c4f000be790a315b3e2283af28de4a41d611 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Tue, 9 Apr 2024 22:21:12 +0900 Subject: [PATCH] fix: button size --- __init__.py | 2 +- js/snapshot.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 9361c885..1ae72358 100644 --- a/__init__.py +++ b/__init__.py @@ -30,7 +30,7 @@ except: print(f"[WARN] ComfyUI-Manager: Your ComfyUI version is outdated. Please update to the latest version.") -version = [2, 16] +version = [2, 16, 1] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') print(f"### Loading: ComfyUI-Manager ({version_str})") diff --git a/js/snapshot.js b/js/snapshot.js index e2eed3f4..0ca7c76a 100644 --- a/js/snapshot.js +++ b/js/snapshot.js @@ -269,6 +269,7 @@ export class SnapshotManager extends ComfyDialog { save_button.onclick = () => { save_current_snapshot(); } save_button.style.display = "inline-block"; save_button.style.horizontalAlign = "right"; + save_button.style.width = "170px"; this.message_box = $el('div', {id:'custom-download-message'}, [$el('br'), '']); this.message_box.style.height = '60px';