Reconcile verified account IDs and make language repairs observable
Magent CI/CD / verify (push) Successful in 1m50s
Magent CI/CD / deploy-prod (push) Skipped
Magent CI/CD / deploy-beta (push) Skipped

This commit is contained in:
2026-09-11 19:56:32 +12:00
parent 38169b881e
commit de25255ea8
25 changed files with 593 additions and 160 deletions
+15
View File
@@ -0,0 +1,15 @@
let locks = 0
let previous = ''
export function lockBodyScroll() {
if (locks++ === 0) {
previous = document.body.style.overflow
document.body.style.overflow = 'hidden'
}
let released = false
return () => {
if (released) return
released = true
if (--locks === 0) document.body.style.overflow = previous
}
}