Fix webview overlapping tabs (fix #84)
This commit is contained in:
parent
0c0a724245
commit
8f1794c119
1 changed files with 2 additions and 6 deletions
8
index.js
8
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;
|
||||
}
|
||||
`;
|
||||
|
|
Loading…
Reference in a new issue