mirror of https://github.com/jetkvm/kvm.git
fix: mobile viewport cropping on video element (#985)
This commit is contained in:
parent
3fcd5e7def
commit
78cef12c97
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in New Issue