From 7aaaaa3fba2518bd09d8bee6bde096a2f4435214 Mon Sep 17 00:00:00 2001 From: Dominic <git@msrd0.de> Date: Tue, 10 Sep 2024 19:17:12 +0200 Subject: [PATCH] Small CSS fixup --- frontend/src/main.less | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/main.less b/frontend/src/main.less index f07a833..a0ca20a 100644 --- a/frontend/src/main.less +++ b/frontend/src/main.less @@ -162,13 +162,12 @@ main { } .preview { - width: min(95vw, 100rem); /* A4 aspect ratio: √2:1 */ aspect-ratio: 1.4142135623730951; } -.preview-label { - place-self: center; +.preview-container .preview { + width: 100%; } // this is the form layout row container thingy @@ -220,6 +219,10 @@ main { cursor: pointer; } + .preview-label { + place-self: center; + } + img { width: 10rem; background-color: #fff; -- GitLab