forked from github/cinny
Fix the position of the member drawer to its correct location
This commit is contained in:
@@ -65,14 +65,14 @@ export function Room() {
|
|||||||
<Box style={{ flex: 1, minHeight: 0, overflowY: 'auto', background: '#fff' }}>
|
<Box style={{ flex: 1, minHeight: 0, overflowY: 'auto', background: '#fff' }}>
|
||||||
<RoomView room={room} eventId={eventId} />
|
<RoomView room={room} eventId={eventId} />
|
||||||
</Box>
|
</Box>
|
||||||
{screenSize === ScreenSize.Desktop && isDrawer && (
|
|
||||||
<>
|
|
||||||
<Line variant="Background" direction="Vertical" size="300" />
|
|
||||||
<MembersDrawer key={room.roomId} room={room} members={members} />
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
|
{screenSize === ScreenSize.Desktop && isDrawer && (
|
||||||
|
<>
|
||||||
|
<Line variant="Background" direction="Vertical" size="300" />
|
||||||
|
<MembersDrawer key={room.roomId} room={room} members={members} />
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
</PowerLevelsContextProvider>
|
</PowerLevelsContextProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user