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 () {
const styles = `
webview {
visibility: hidden;
width: 0px;
height: 0px;
}
webview.visible {
visibility: visible;
width: 100%;
height: 100%;
top: 0;