Remove border/margin/padding/pointerEvents from iframe (#841)
This commit is contained in:
parent
2f4adbab2c
commit
613c7ebf69
@ -41,6 +41,10 @@ class TemplateRendererProxy {
|
|||||||
style.width = '0';
|
style.width = '0';
|
||||||
style.height = '0';
|
style.height = '0';
|
||||||
style.position = 'absolute';
|
style.position = 'absolute';
|
||||||
|
style.border = '0';
|
||||||
|
style.margin = '0';
|
||||||
|
style.padding = '0';
|
||||||
|
style.pointerEvents = 'none';
|
||||||
}
|
}
|
||||||
if (this._frameNeedsLoad) {
|
if (this._frameNeedsLoad) {
|
||||||
this._frameNeedsLoad = false;
|
this._frameNeedsLoad = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user