This commit is contained in:
Kyle
2019-09-11 20:44:07 -07:00
parent 83bb9895ac
commit f6d6b8446c
2 changed files with 20 additions and 16 deletions

View File

@@ -93,11 +93,14 @@ canvas {
background-position: center;
background-repeat: no-repeat;
}
.imgPreview {
width: 100%;
}
@media screen and (min-width: 306pt) {
.imgPreview {
max-width: 143pt;
max-height: 200pt;
width: 100%;
height: 100%;
}
}
.cardMenu > div {
/*border: 1px solid red;*/
@@ -129,7 +132,6 @@ canvas {
outline: none;
}
.textarea {
width: 100%;
min-height: 6em;
max-height: 18em;
resize: vertical;

View File

@@ -44,6 +44,7 @@
<div>
Art
</div>
<div class="autoGrid">
<div class="twoGrid">
<div>
<div class="tooltip"><input type="file" class="input file" accept="image/*" onchange="uploadImage(event, cardArt)" placeholder="Via File Upload"><span class="tooltiptext">Upload an image for the card art</span></div>
@@ -58,6 +59,7 @@
<div class="tooltip"><input type="number" class="input number" value="100" step="0.1" min="0" id="inputCardArtZoom" oninput="updateCardCanvas()"><span class="tooltiptext">Art zoom level</span></div>
</div>
</div>
</div>
<div class="bar"></div>
</div>
<div>