mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-23 03:53:53 +00:00
Preserve scroll Y pos when tab hidden (fix #100)
This commit is contained in:
parent
50e125c566
commit
b68624a603
4
index.js
4
index.js
|
@ -10,10 +10,10 @@ if (!document) {
|
||||||
webview {
|
webview {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
|
||||||
webview.visible {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
}
|
||||||
|
webview.visible {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in a new issue