temp fix for making sure correct canvas size
This commit is contained in:
parent
bdde86d429
commit
a42f6a0fed
|
|
@ -19,13 +19,6 @@ html, body {
|
||||||
transform-origin: center center;
|
transform-origin: center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* On mobile (below 1000px), scale differently. Adjust as desired. */
|
|
||||||
@media (max-width: 1000px) {
|
|
||||||
#simCanvasWrapper {
|
|
||||||
transform: scale(0.85); /* Or scale(1.2) if you want larger on mobile */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The canvas inside the wrapper */
|
/* The canvas inside the wrapper */
|
||||||
canvas {
|
canvas {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue