Fit desktop preview image

This commit is contained in:
Mikei386
2026-06-22 16:16:14 +02:00
parent eb6f60da51
commit c00f70c03a
+5 -3
View File
@@ -312,15 +312,17 @@ textarea {
min-height: 120px; min-height: 120px;
display: grid; display: grid;
align-items: center; align-items: center;
justify-items: start; justify-items: center;
border: 1px dashed #555; border: 1px dashed #555;
background: #222; background: #222;
padding: 12px; padding: 12px;
overflow: auto; overflow: hidden;
} }
.preview-box img { .preview-box img {
max-width: none; max-width: 100%;
max-height: 220px;
object-fit: contain;
image-rendering: crisp-edges; image-rendering: crisp-edges;
} }