From a913a9209622754c688e999a6c049014ecc12b96 Mon Sep 17 00:00:00 2001 From: space-nuko <24979496+space-nuko@users.noreply.github.com> Date: Mon, 22 May 2023 13:18:03 -0500 Subject: [PATCH] Fix margin --- src/lib/components/ComfyQueueListDisplay.svelte | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/components/ComfyQueueListDisplay.svelte b/src/lib/components/ComfyQueueListDisplay.svelte index e98c753..e392825 100644 --- a/src/lib/components/ComfyQueueListDisplay.svelte +++ b/src/lib/components/ComfyQueueListDisplay.svelte @@ -79,7 +79,10 @@ .list-entries { --imageSize: 40; - height: calc(100% - #{$list-controls-height} - #{$list-controls-margin}); + height: 100%; + &.history-mode { + height: calc(100% - #{$list-controls-height} - #{$list-controls-margin} * 2); + } overflow-y: auto; display: flex; flex-flow: column nowrap; @@ -105,7 +108,7 @@ } .button-wrapper { - padding: 0.25rem; + padding: $list-controls-margin; .clear-queue-button { @include square-button;