From c00f70c03abc7d746b5b15cd8c46c7c2bf857771 Mon Sep 17 00:00:00 2001 From: Mikei386 <44135113+Mikei386@users.noreply.github.com> Date: Mon, 22 Jun 2026 16:16:14 +0200 Subject: [PATCH] Fit desktop preview image --- app/static/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/static/style.css b/app/static/style.css index 8ddf6c1..9cb420c 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -312,15 +312,17 @@ textarea { min-height: 120px; display: grid; align-items: center; - justify-items: start; + justify-items: center; border: 1px dashed #555; background: #222; padding: 12px; - overflow: auto; + overflow: hidden; } .preview-box img { - max-width: none; + max-width: 100%; + max-height: 220px; + object-fit: contain; image-rendering: crisp-edges; }