Fix canvas width contain
This commit is contained in:
parent
12c1837587
commit
bab413ec34
1 changed files with 3 additions and 1 deletions
|
@ -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"] {
|
||||||
|
|
Loading…
Reference in a new issue