fix(script): remove position fixed if not untouchable site

This commit is contained in:
wanhose 2020-05-27 19:46:36 +02:00
parent c8255e1f25
commit 7f670e1532

View File

@ -21,6 +21,7 @@ const doMagic = () => {
// Fixing main elements
if (!UNTOUCHABLE_SITES.includes(document.location.host)) {
document.documentElement.style.setProperty('overflow', 'unset', 'important');
document.documentElement.style.setProperty('position', 'unset', 'important');
document.body.style.setProperty('overflow', 'unset', 'important');
}