mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-10 01:00:28 +03:00
Fix the position of the member drawer to its correct location
This commit is contained in:
parent
74c883dfa8
commit
7043376383
1 changed files with 6 additions and 6 deletions
|
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue