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

View File

@@ -44,6 +44,7 @@
<div> <div>
Art Art
</div> </div>
<div class="autoGrid">
<div class="twoGrid"> <div class="twoGrid">
<div> <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> <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 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>
</div>
<div class="bar"></div> <div class="bar"></div>
</div> </div>
<div> <div>