Restrict camera height in portrait mode

This commit is contained in:
Jose Olarte III
2025-05-21 14:49:29 +08:00
parent db5abb5b1f
commit fb495a7680

View File

@@ -86,7 +86,7 @@
<div class="camera-container w-full h-full relative"> <div class="camera-container w-full h-full relative">
<video <video
ref="videoElement" ref="videoElement"
class="camera-video w-full h-full object-cover" class="camera-video w-full h-full portrait:max-h-[40vh] object-cover"
autoplay autoplay
playsinline playsinline
muted muted