mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-23 03:53:53 +00:00
Fix webview overlapping tabs (fix #84)
This commit is contained in:
parent
0c0a724245
commit
8f1794c119
8
index.js
8
index.js
|
@ -8,16 +8,12 @@ if (!document) {
|
||||||
(function () {
|
(function () {
|
||||||
const styles = `
|
const styles = `
|
||||||
webview {
|
webview {
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
webview.visible {
|
webview.visible {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in a new issue