From 78cef12c97982389ce1a8b4b83a6ea9b65ea7d9c Mon Sep 17 00:00:00 2001 From: Nitish Agarwal <1592163+nitishagar@users.noreply.github.com> Date: Thu, 20 Nov 2025 18:25:24 +0530 Subject: [PATCH] fix: mobile viewport cropping on video element (#985) --- ui/src/components/WebRTCVideo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/WebRTCVideo.tsx b/ui/src/components/WebRTCVideo.tsx index c54d2b8d..1419deb8 100644 --- a/ui/src/components/WebRTCVideo.tsx +++ b/ui/src/components/WebRTCVideo.tsx @@ -529,7 +529,7 @@ export default function WebRTCVideo({ hasConnectionIssues }: { hasConnectionIssu controlsList="nofullscreen" style={videoStyle} className={cx( - "max-h-full min-h-[384px] max-w-full min-w-[512px] bg-black/50 object-contain transition-all duration-1000", + "max-h-full max-w-full sm:min-h-[384px] sm:min-w-[512px] bg-black/50 object-contain transition-all duration-1000", { "cursor-none": settings.isCursorHidden, "!opacity-0":