Updated preview design

This commit is contained in:
2022-11-23 20:00:59 +01:00
parent 57a6d7479b
commit 377e26c124
2 changed files with 14 additions and 3 deletions

View File

@@ -1,3 +1,12 @@
body {
background-color: #172336;
margin: 0;
padding: 0;
color: white;
font-family: sans-serif;
overflow: hidden;
}
.dataDiv { .dataDiv {
display: flex; display: flex;
} }
@@ -249,16 +258,18 @@ header h1 {
} }
#render-ex { #render-ex {
width: 100%; width: auto;
height: auto; height: auto;
max-width: 100%;
display: block; display: block;
border-radius: 10px; border-radius: 10px;
} }
#renderImgDiv { #renderImgDiv {
position: relative; position: relative;
margin-top: 15px; margin-top: 15px;
width: 100%;
image-rendering: pixelated; image-rendering: pixelated;
width: fit-content;
height: fit-content;
} }
.noMarginBottom { .noMarginBottom {

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>StickExporterTX</title> <title>StickExporterTX</title>
</head> </head>
<body style="background-color: #172336;margin:0;padding:0;color:white;font-family:sans-serif;"> <body>
<div id="root"></div> <div id="root"></div>
<script> <script>