Fix webview rendering on OSX (fixes #22)

This commit is contained in:
Thomas Brouard 2018-02-21 20:07:33 +01:00
parent 284292ceb1
commit 577243a57d

View file

@ -8,12 +8,10 @@ if (!document) {
(function () { (function () {
const styles = ` const styles = `
webview { webview {
visibility: hidden;
width: 0px; width: 0px;
height: 0px; height: 0px;
} }
webview.visible { webview.visible {
visibility: visible;
width: 100%; width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;