diff --git a/src/components/Room/PeerVideo.tsx b/src/components/Room/PeerVideo.tsx index 29ab569..e6aca28 100644 --- a/src/components/Room/PeerVideo.tsx +++ b/src/components/Room/PeerVideo.tsx @@ -63,10 +63,10 @@ export const PeerVideo = ({ justifyContent: 'center', mx: 'auto', overflow: 'auto', - py: 2, + padding: 2, ...(selectedPeerStream ? { - height: 'calc(100% - 0.5em)', + height: '100%', } : { width: `calc(${sizePercent}% - 1em)`, diff --git a/src/components/Room/RoomVideoDisplay.tsx b/src/components/Room/RoomVideoDisplay.tsx index b2c745a..cabf07d 100644 --- a/src/components/Room/RoomVideoDisplay.tsx +++ b/src/components/Room/RoomVideoDisplay.tsx @@ -125,7 +125,7 @@ export const RoomVideoDisplay = ({ userId }: RoomVideoDisplayProps) => { }} > {selectedPeerStream && ( - + { )} { overflow: 'auto', width: '100%', ...(selectedPeerStream && { - height: '15%', - maxHeight: '15%', + height: '20%', + maxHeight: '20%', + pt: '0.5em', }), }} >