Fix webview overlapping tabs (fix #84)

This commit is contained in:
Thomas Brouard 2020-02-04 11:57:48 +01:00
parent 0c0a724245
commit 8f1794c119

View file

@ -8,16 +8,12 @@ if (!document) {
(function () { (function () {
const styles = ` const styles = `
webview { webview {
width: 100%;
height: 100%;
top: 0;
right: 0;
bottom: 0;
left: 0;
position: absolute; position: absolute;
visibility: hidden; visibility: hidden;
} }
webview.visible { webview.visible {
width: 100%;
height: 100%;
visibility: visible; visibility: visible;
} }
`; `;