From 201a106d191c2830feb08ea6da82d19e864c7f68 Mon Sep 17 00:00:00 2001 From: asdqwe Date: Mon, 4 Nov 2024 22:33:49 -0300 Subject: [PATCH] Temporary workaround for canvas' width CSS --- src/shell.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/shell.html b/src/shell.html index 51e675f43886..cc0552e9f4e1 100644 --- a/src/shell.html +++ b/src/shell.html @@ -79,7 +79,7 @@ canvas.emscripten { border: 0px none; background: black; - width: 100%; + /* width: 100%; */ } .spinner { @@ -285,6 +285,10 @@ } statusElement.innerHTML = text; + + // Temporary workaround for "canvas.emscripten { width: 100%; }" CSS not working with current emscripten (3.1.70) + // Revert this change when the issue is fixed upstream + document.getElementById('canvas').style.width = '100%'; }, totalDependencies: 0, monitorRunDependencies: function(left) {