From d5a2f47a583c4166374901d72e2a48ae2221ec44 Mon Sep 17 00:00:00 2001 From: rgthree Date: Tue, 1 Oct 2024 21:09:19 -0400 Subject: [PATCH] Fix forward changes to accomodate Progress Bar positioning with ComfyUI_frontend changes in 1.3.x. Fixes #339. --- src_web/comfyui/rgthree.scss | 2 +- web/comfyui/rgthree.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src_web/comfyui/rgthree.scss b/src_web/comfyui/rgthree.scss index f790046..aebb65a 100644 --- a/src_web/comfyui/rgthree.scss +++ b/src_web/comfyui/rgthree.scss @@ -294,7 +294,7 @@ rgthree-progress-bar { inset 0px 1px 0px rgba(255, 255, 255, 0.15), inset 0px -1px 0px rgba(0, 0, 0, 0.25), 0px 1px 0px rgba(255, 255, 255, 0.125); } -body:not([style*=grid]){ +body:not([style*=grid]):not([class*=grid]) { rgthree-progress-bar { position: fixed; top: 0px; diff --git a/web/comfyui/rgthree.css b/web/comfyui/rgthree.css index 3318e17..5d0075c 100644 --- a/web/comfyui/rgthree.css +++ b/web/comfyui/rgthree.css @@ -614,12 +614,12 @@ rgthree-progress-bar { box-shadow: 0px -1px 0px rgb(0, 0, 0), inset 0px 1px 0px rgba(255, 255, 255, 0.15), inset 0px -1px 0px rgba(0, 0, 0, 0.25), 0px 1px 0px rgba(255, 255, 255, 0.125); } -body:not([style*=grid]) rgthree-progress-bar { +body:not([style*=grid]):not([class*=grid]) rgthree-progress-bar { position: fixed; top: 0px; bottom: auto; } -body:not([style*=grid]) rgthree-progress-bar.rgthree-pos-bottom { +body:not([style*=grid]):not([class*=grid]) rgthree-progress-bar.rgthree-pos-bottom { top: auto; bottom: 0px; }