made fully mobile compatible

This commit is contained in:
2025-01-28 19:52:38 +01:00
parent 4908bbf28a
commit e66839296a
5 changed files with 34 additions and 21 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ function setVh() {
document.addEventListener("DOMContentLoaded", async function() {
setVh()
debugPrint("currentPage", `${CURRENT_PAGE} ${Object.keys(PAGES)[CURRENT_PAGE + 1]}`)
startLoadingScreen()
@@ -186,7 +186,7 @@ document.addEventListener("DOMContentLoaded", async function() {
window.addEventListener("resize", function() {
document.documentElement.style.setProperty("--vh", window.innerHeight * 0.01 + "px");
setVh()
calcPixelDensity()
switch (CURRENT_PAGE) {