diff --git a/site/camera-info/main.css b/site/camera-info/main.css
index 21546fa..0487c03 100644
--- a/site/camera-info/main.css
+++ b/site/camera-info/main.css
@@ -30,6 +30,14 @@ body > div > * {
box-sizing: border-box;
}
+@media (orientation:portrait) {
+ #camview {
+ width: 100vw;
+ padding-left: 0px;
+ padding-right: 0px;
+ }
+}
+
#camview.took {
position: fixed;
@@ -62,10 +70,11 @@ body > div > * {
}
#preview {
- width: 100%;
- display: inline-block;
+ width: 100%;
+ display: inline-block;
}
+
.offscreen {
position: absolute;
top: -10000px;
@@ -83,4 +92,4 @@ video.unbounded {
border: 1px solid black;
max-width: 80vw;
max-height: 80vh;
-}
\ No newline at end of file
+}