feat: import peer video layout

This commit is contained in:
Jeremy Kahn 2022-11-07 21:19:11 -06:00
parent b27a54eac4
commit f6314501a2

View File

@ -54,15 +54,19 @@ export const PeerVideo = ({
playsInline
ref={videoRef}
style={{
borderRadius: '1.25em',
borderRadius: '.25em',
overflow: 'auto',
padding: '1em',
marginLeft: 'auto',
marginRight: 'auto',
height: '100%',
...(isSelf && {
transform: 'rotateY(180deg)',
}),
}}
/>
<PeerNameDisplay sx={{ textAlign: 'center', display: 'block' }}>
<PeerNameDisplay
sx={{ textAlign: 'center', display: 'block', marginTop: '1em' }}
>
{userId}
</PeerNameDisplay>
</Paper>