Remove border/margin/padding/pointerEvents from iframe (#841)

This commit is contained in:
toasted-nutbread 2020-09-19 17:13:34 -04:00 committed by GitHub
parent 2f4adbab2c
commit 613c7ebf69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;