forked from trent_larson/crowd-funder-for-time-pwa
Restrict camera height in portrait mode
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user