diff options
| author | Simon <vesspa0330@gmail.com> | 2025-07-27 20:10:22 -0400 |
|---|---|---|
| committer | Simon <vesspa0330@gmail.com> | 2025-07-27 20:10:22 -0400 |
| commit | 1de9bab7fd8e246b9b84bd35a18db5479d3b27dd (patch) | |
| tree | d75e316ebcbff840efb1f3b20d098ace381470b3 | |
| parent | e6988f028ef053130c57856321b037ebdf070fe5 (diff) | |
ensured page wallpaper is centered
| -rw-r--r-- | startpage.html | 2 |
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"; } } |
