summaryrefslogtreecommitdiff
path: root/startpage.html
diff options
context:
space:
mode:
authorSimon <vesspa0330@gmail.com>2025-07-27 20:10:22 -0400
committerSimon <vesspa0330@gmail.com>2025-07-27 20:10:22 -0400
commit1de9bab7fd8e246b9b84bd35a18db5479d3b27dd (patch)
treed75e316ebcbff840efb1f3b20d098ace381470b3 /startpage.html
parente6988f028ef053130c57856321b037ebdf070fe5 (diff)
ensured page wallpaper is centered
Diffstat (limited to 'startpage.html')
-rw-r--r--startpage.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/startpage.html b/startpage.html
index 7b7c700..446b1c5 100644
--- a/startpage.html
+++ b/startpage.html
@@ -1737,6 +1737,7 @@
document.getElementById("wallpaperRepeatToggle").checked = true;
} else {
document.body.style.backgroundSize = "cover";
+ document.body.style.backgroundPosition = "center";
}
/* init audio + auto-play */
@@ -2018,6 +2019,7 @@
} else {
document.body.style.backgroundSize = "cover";
+ document.body.style.backgroundPosition = "center";
document.body.style.backgroundRepeat = "no-repeat";
}
}