aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-19 17:13:34 -0400
committerGitHub <noreply@github.com>2020-09-19 17:13:34 -0400
commit613c7ebf69413723486ab49a7b2f928422de3541 (patch)
treee2c47303ea25c3ca34e9d0973bf8bd0c7edd8d56 /ext/bg/js
parent2f4adbab2cbefba1898b4ce6f8ff5e03622cfd34 (diff)
Remove border/margin/padding/pointerEvents from iframe (#841)
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/template-renderer-proxy.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/template-renderer-proxy.js b/ext/bg/js/template-renderer-proxy.js
index f08efdd6..adc20e9f 100644
--- a/ext/bg/js/template-renderer-proxy.js
+++ b/ext/bg/js/template-renderer-proxy.js
@@ -41,6 +41,10 @@ class TemplateRendererProxy {
style.width = '0';
style.height = '0';
style.position = 'absolute';
+ style.border = '0';
+ style.margin = '0';
+ style.padding = '0';
+ style.pointerEvents = 'none';
}
if (this._frameNeedsLoad) {
this._frameNeedsLoad = false;