fix(script): remove position fixed if not untouchable site
This commit is contained in:
parent
c8255e1f25
commit
7f670e1532
@ -21,6 +21,7 @@ const doMagic = () => {
|
|||||||
// Fixing main elements
|
// Fixing main elements
|
||||||
if (!UNTOUCHABLE_SITES.includes(document.location.host)) {
|
if (!UNTOUCHABLE_SITES.includes(document.location.host)) {
|
||||||
document.documentElement.style.setProperty('overflow', 'unset', 'important');
|
document.documentElement.style.setProperty('overflow', 'unset', 'important');
|
||||||
|
document.documentElement.style.setProperty('position', 'unset', 'important');
|
||||||
document.body.style.setProperty('overflow', 'unset', 'important');
|
document.body.style.setProperty('overflow', 'unset', 'important');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user