Fixed up some phone rendering issues.

This commit is contained in:
2025-08-25 13:35:03 +10:00
parent baf1f5ccde
commit ca847193d0
3 changed files with 13 additions and 3 deletions

View File

@@ -19,4 +19,8 @@ $(document).ready(function () {
window.open( url, target );
}
});
var isPhone = /Mobi|Android|iPhone|iPod/i.test(navigator.userAgent) || window.innerWidth <= 768;
if (isPhone) {
$("body").addClass("phone");
}
});