leave dropdown on at all times
This commit is contained in:
parent
11cc0db328
commit
d1aad82f7d
|
@ -6,14 +6,14 @@
|
|||
<style>
|
||||
#arjsDebugUIContainer { display: none; }
|
||||
body { margin: auto !important; max-width: 100vw !important; }
|
||||
#startend-container { max-height: 100%; max-width: 100%; padding: 20px; margin: auto; text-align: center; }
|
||||
#startend-container { max-height: 100%; max-width: 100%; padding: 20px; margin: auto; display: flex; justify-content: center; align-items: center; clear: both; }
|
||||
#starter { background-color: #ccc; border-radius: 5px; padding: 30px; font-size: 2em; text-align: center; }
|
||||
@media screen and (orientation: portrait) {
|
||||
#starter { font-size: 2.2em; }
|
||||
}
|
||||
#ender { display: none; background-color: #ccc; border-radius: 5px; padding: 30px; font-size: 2em; text-align: center; position: relative; }
|
||||
|
||||
#header-container { width: 100%; z-index: 50; display: none; }
|
||||
#header-container { width: 100%; z-index: 50; }
|
||||
#header { width: 100vw; margin: 0 auto; text-align: left; padding: 5px; }
|
||||
@media screen and (orientation: landscape) {
|
||||
#header-container { max-height: 100vh; max-width: 100vw; }
|
||||
|
@ -32,7 +32,6 @@ body { margin: auto !important; max-width: 100vw !important; }
|
|||
<script>
|
||||
function getStarted() {
|
||||
document.getElementById("starter").style.display = "none";
|
||||
document.getElementById("header-container").style.display = "block";
|
||||
}
|
||||
|
||||
window.onload = function () {
|
||||
|
@ -64,7 +63,6 @@ AFRAME.registerComponent('markerhandler', {
|
|||
check: function (markers) {
|
||||
if (Object.is(JSON.stringify(markers), JSON.stringify({ reference: true, circulation: true, photocopier: true })) == true) {
|
||||
document.getElementById("ender").style.display = "block";
|
||||
document.getElementById("header-container").style.display = "none";
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue