diff --git a/frontend/src/main.less b/frontend/src/main.less index f07a833e1f99beae63ded33f2802e9c22899f102..a0ca20a9d73262c4b74be0b58aa79f64313b32cc 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;