Skip to content

Commit 21e30c6

Browse files
authored
fix: display scaling broken (#499)
1 parent 25e30f6 commit 21e30c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/src/components/WebRTCVideo.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,6 @@ export default function WebRTCVideo() {
674674
<div className="grid grow grid-rows-(--grid-bodyFooter) overflow-hidden">
675675
<div className="relative mx-4 my-2 flex items-center justify-center overflow-hidden">
676676
<div className="relative flex h-full w-full items-center justify-center">
677-
<div className="relative inline-block">
678677
{/* In relative mouse mode and under https, we enable the pointer lock, and to do so we need a bar to show the user to click on the video to enable mouse control */}
679678
<PointerLockBar show={showPointerLockBar} />
680679
<video
@@ -688,7 +687,7 @@ export default function WebRTCVideo() {
688687
disablePictureInPicture
689688
controlsList="nofullscreen"
690689
className={cx(
691-
"z-30 max-h-full min-h-[384px] max-w-full min-w-[512px] bg-black/50 object-contain transition-all duration-1000",
690+
"max-h-full min-h-[384px] max-w-full min-w-[512px] bg-black/50 object-contain transition-all duration-1000",
692691
{
693692
"cursor-none": settings.isCursorHidden,
694693
"opacity-0":
@@ -718,7 +717,6 @@ export default function WebRTCVideo() {
718717
</div>
719718
</div>
720719
)}
721-
</div>
722720
</div>
723721
</div>
724722
<VirtualKeyboard />

0 commit comments

Comments
 (0)