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) {