There was an error while loading. Please reload this page.
1 parent 743161d commit 65ef003Copy full SHA for 65ef003
1 file changed
editor/index.html
@@ -69,7 +69,7 @@
69
background: #111;
70
overflow: hidden;
71
}
72
- #preview-area canvas { display: block !important; }
+ #preview-area canvas { display: block !important; width: 100% !important; height: 100% !important; }
73
#preview-area iframe { width: 100%; height: 100%; border: none; display: block; }
74
75
#preview-placeholder { color: #555; font-size: 13px; text-align: center; line-height: 2.2; }
@@ -269,6 +269,8 @@
269
const canvas = document.createElement('canvas');
270
canvas.id = 'canvas';
271
canvas.style.display = 'block';
272
+ canvas.style.width = '100%';
273
+ canvas.style.height = '100%';
274
275
area.appendChild(canvas);
276
window.Module = {
0 commit comments