From f79740c087adf3f9d4b17bc8bb76d50fca3d2946 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Wed, 30 Oct 2019 10:59:24 -0700 Subject: [PATCH] Use zero height / width for compute canvas (#3369) * Make the blockly compute canvas have no height or width --- core/css.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/css.js b/core/css.js index 8eca3fe0c..a59640bae 100644 --- a/core/css.js +++ b/core/css.js @@ -772,6 +772,12 @@ Blockly.Css.CONTENT = [ '.blocklyDropDownDiv .goog-menuitem-rtl .goog-menuitem-icon {', 'float: right;', 'margin-right: -24px;', - '}' + '}', + + '.blocklyComputeCanvas {', + 'position: absolute;', + 'width: 0;', + 'height: 0;', + '}', /* eslint-enable indent */ ];