From 8f1794c119d8842bbe4d90d1f2dda4c3183f371d Mon Sep 17 00:00:00 2001 From: Thomas Brouard Date: Tue, 4 Feb 2020 11:57:48 +0100 Subject: [PATCH] Fix webview overlapping tabs (fix #84) --- index.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; } `;