make scene width stay within viewport

This commit is contained in:
Mark Eaton 2023-07-25 17:22:08 -04:00
parent 08f3a710c2
commit 98725524f4
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- Group homepage -->
<body style="margin: 0; overflow: hidden;">
<div id="startend-container">

View File

@ -5,7 +5,7 @@
<style>
#arjsDebugUIContainer { display: none; }
body { margin-left: 0 !important }
body { margin-left: 0 !important; width: 100% !important; }
#startend-container { max-height: 90vh; max-width: 90vw; padding: 15px; }
@media screen and (orientation: landscape) {
#startend-container { margin: auto; }