fix: prevent peer list from obscuring room

This commit is contained in:
Jeremy Kahn 2022-11-25 10:40:13 -06:00
parent 3c647d0312
commit 37250fddf5

View File

@ -36,10 +36,15 @@ export const PeerList = ({
<MuiDrawer
sx={{
flexShrink: 0,
pointerEvents: 'none',
width: peerListWidth,
'& .MuiDrawer-paper': {
width: peerListWidth,
boxSizing: 'border-box',
},
...(isPeerListOpen && {
pointerEvents: 'auto',
}),
}}
variant="persistent"
anchor="right"