Fix canvas width contain

This commit is contained in:
Leonardo Murça 2022-11-13 22:23:15 -03:00
parent 12c1837587
commit bab413ec34

View file

@ -110,7 +110,8 @@
<style> <style>
.canvas { .canvas {
height: 80%; height: 80%;
width: fit-content; width: 100%;
object-fit: contain;
} }
.card-canvas { .card-canvas {
display: flex; display: flex;
@ -120,6 +121,7 @@
width: 550px; width: 550px;
height: 550px; height: 550px;
margin-bottom: 15px; margin-bottom: 15px;
padding: 10px;
border: 2px solid black; border: 2px solid black;
} }
input[type="submit"] { input[type="submit"] {