make scene width stay within viewport
This commit is contained in:
parent
08f3a710c2
commit
98725524f4
|
@ -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">
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue