From 377e26c1243d3581afe8ef75e24a3e821e0d47ec Mon Sep 17 00:00:00 2001 From: Lino Schmidt Date: Wed, 23 Nov 2022 20:00:59 +0100 Subject: [PATCH] Updated preview design --- src/index.css | 15 +++++++++++++-- src/index.html | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/index.css b/src/index.css index 46dfad0..4651125 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,12 @@ +body { + background-color: #172336; + margin: 0; + padding: 0; + color: white; + font-family: sans-serif; + overflow: hidden; +} + .dataDiv { display: flex; } @@ -249,16 +258,18 @@ header h1 { } #render-ex { - width: 100%; + width: auto; height: auto; + max-width: 100%; display: block; border-radius: 10px; } #renderImgDiv { position: relative; margin-top: 15px; - width: 100%; image-rendering: pixelated; + width: fit-content; + height: fit-content; } .noMarginBottom { diff --git a/src/index.html b/src/index.html index b9f881c..5e134e3 100644 --- a/src/index.html +++ b/src/index.html @@ -4,7 +4,7 @@ StickExporterTX - +