camera-info updates
All checks were successful
ClarkeIS Build / Build-Docker-Image (push) Successful in 3m21s

This commit is contained in:
2025-06-21 18:17:37 -04:00
parent 7b3779999a
commit 8688975c81
2 changed files with 13 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
<body> <body>
<video id="magic_video" class="offscreen">video stream unavailable</video> <video id="magic_video" class="offscreen">video stream unavailable</video>
<div id="home" style="display: none;"> <div id="home" style="display: none;">
<button onclick="setdetails()" style="display: none;" id="endcamera">Next</button> <button onclick="setdetails()" style="display: none; align-self: end;" id="endcamera">Next</button>
<canvas id="precanvas" class="offscreen"></canvas> <canvas id="precanvas" class="offscreen"></canvas>
<div id="camview"> <div id="camview">
<div id="video-container"> <div id="video-container">

View File

@@ -30,6 +30,14 @@ body > div > * {
box-sizing: border-box; box-sizing: border-box;
} }
@media (orientation:portrait) {
#camview {
width: 100vw;
padding-left: 0px;
padding-right: 0px;
}
}
#camview.took { #camview.took {
position: fixed; position: fixed;
@@ -62,10 +70,11 @@ body > div > * {
} }
#preview { #preview {
width: 100%; width: 100%;
display: inline-block; display: inline-block;
} }
.offscreen { .offscreen {
position: absolute; position: absolute;
top: -10000px; top: -10000px;