Move loading spinner to bottom of page to fix z-index

This commit is contained in:
2024-04-11 18:51:45 +02:00
parent c5432c7541
commit 5bc24d4a04
2 changed files with 8 additions and 2 deletions

View File

@@ -52,6 +52,11 @@ export const swipe_nav = (node, swipe_enabled) => {
detail += "transition: transform 500ms;"
}
// Clear the transformation if the offset is zero
if (off === 0) {
detail = ""
}
node.dispatchEvent(new CustomEvent("style", {detail: detail}))
}