mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-23 03:53:53 +00:00
Fix webview rendering on OSX (fixes #22)
This commit is contained in:
parent
284292ceb1
commit
577243a57d
2
index.js
2
index.js
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue