From 613c7ebf69413723486ab49a7b2f928422de3541 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 19 Sep 2020 17:13:34 -0400 Subject: Remove border/margin/padding/pointerEvents from iframe (#841) --- ext/bg/js/template-renderer-proxy.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/bg/js') 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; -- cgit v1.2.3