diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-19 17:13:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 17:13:34 -0400 |
commit | 613c7ebf69413723486ab49a7b2f928422de3541 (patch) | |
tree | e2c47303ea25c3ca34e9d0973bf8bd0c7edd8d56 /ext/bg/js/template-renderer-proxy.js | |
parent | 2f4adbab2cbefba1898b4ce6f8ff5e03622cfd34 (diff) |
Remove border/margin/padding/pointerEvents from iframe (#841)
Diffstat (limited to 'ext/bg/js/template-renderer-proxy.js')
-rw-r--r-- | ext/bg/js/template-renderer-proxy.js | 4 |
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; |