feat: group videos closer together

This commit is contained in:
Jeremy Kahn 2022-11-16 09:14:10 -06:00
parent 373ea22d2c
commit 4e29bfbd24
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ export const PeerVideo = ({
: { : {
width: `calc(${sizePercent}% - 1em)`, width: `calc(${sizePercent}% - 1em)`,
height: `calc(${sizePercent}% - 1em)`, height: `calc(${sizePercent}% - 1em)`,
my: 1,
}), }),
...(selectedPeerStream && ...(selectedPeerStream &&
!isSelectedVideo && { !isSelectedVideo && {

View File

@ -139,7 +139,7 @@ export const RoomVideoDisplay = ({ userId }: RoomVideoDisplayProps) => {
)} )}
<Box <Box
sx={{ sx={{
alignContent: 'space-around', alignContent: 'center',
display: 'flex', display: 'flex',
flexDirection: 'row', flexDirection: 'row',
flexGrow: 1, flexGrow: 1,