From 2359304a86e9124b84dd986fc389233d1bfc05ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Fri, 7 Apr 2023 21:15:46 +0200 Subject: [PATCH] fix: overflow & spacing issues --- webui/src/components/display/BlobPreview.svelte | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webui/src/components/display/BlobPreview.svelte b/webui/src/components/display/BlobPreview.svelte index c1c3d76..dd41c5a 100644 --- a/webui/src/components/display/BlobPreview.svelte +++ b/webui/src/components/display/BlobPreview.svelte @@ -150,7 +150,7 @@ display: relative; flex-grow: 1; - min-height: 2em; + min-height: 0; display: flex; flex-direction: column; } @@ -168,8 +168,6 @@ justify-content: center; - padding: 1%; - img { max-width: 100%; object-fit: contain; @@ -203,7 +201,8 @@ grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); - margin: 2px; + padding: .25rem; + gap: .25rem; border: 1px solid var(--foreground); border-radius: 4px;