From ca6cac3ff07c0c8580238c2e59957690f3abd71b Mon Sep 17 00:00:00 2001 From: OhItsTom <22730962+ohitstom@users.noreply.github.com> Date: Sun, 2 Jun 2024 20:12:44 +0100 Subject: [PATCH] Refactor min-height calculation in _snippets.scss --- Comfy/assets/_snippets.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Comfy/assets/_snippets.scss b/Comfy/assets/_snippets.scss index 47098e8..d55f3ae 100644 --- a/Comfy/assets/_snippets.scss +++ b/Comfy/assets/_snippets.scss @@ -444,7 +444,7 @@ min-width: fit-content; box-shadow: 0 2px 4px rgba(var(--spice-rgb-shadow), 0.1); justify-content: space-evenly !important; - min-height: calc(128px + (100vw - var(--left-sidebar-width, 0px)* 1px - var(--panel-width, 0px)* 1px - 600px) / 424* 104 + 48px); + min-height: calc(128px + (100vw - var(--comfy-left-sidebar-width, 0px) - var(--comfy-panel-width, 0px) - 600px) / 424* 104 + 48px); max-height: calc(250px - 64px); }