diff --git a/index.js b/index.js index 885a9c6..6f73126 100644 --- a/index.js +++ b/index.js @@ -8,16 +8,12 @@ if (!document) { (function () { const styles = ` webview { - width: 100%; - height: 100%; - top: 0; - right: 0; - bottom: 0; - left: 0; position: absolute; visibility: hidden; } webview.visible { + width: 100%; + height: 100%; visibility: visible; } `;