ensured page wallpaper is centered
This commit is contained in:
@@ -1737,6 +1737,7 @@
|
|||||||
document.getElementById("wallpaperRepeatToggle").checked = true;
|
document.getElementById("wallpaperRepeatToggle").checked = true;
|
||||||
} else {
|
} else {
|
||||||
document.body.style.backgroundSize = "cover";
|
document.body.style.backgroundSize = "cover";
|
||||||
|
document.body.style.backgroundPosition = "center";
|
||||||
}
|
}
|
||||||
|
|
||||||
/* init audio + auto-play */
|
/* init audio + auto-play */
|
||||||
@@ -2018,6 +2019,7 @@
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
document.body.style.backgroundSize = "cover";
|
document.body.style.backgroundSize = "cover";
|
||||||
|
document.body.style.backgroundPosition = "center";
|
||||||
document.body.style.backgroundRepeat = "no-repeat";
|
document.body.style.backgroundRepeat = "no-repeat";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user