Fix webview rendering on OSX (fixes #22)
This commit is contained in:
parent
284292ceb1
commit
577243a57d
1 changed files with 0 additions and 2 deletions
2
index.js
2
index.js
|
@ -8,12 +8,10 @@ if (!document) {
|
|||
(function () {
|
||||
const styles = `
|
||||
webview {
|
||||
visibility: hidden;
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
}
|
||||
webview.visible {
|
||||
visibility: visible;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
|
|
Loading…
Reference in a new issue