Allow placing Moveable anywhere

This commit is contained in:
James Ketr 2025-09-16 10:04:56 -07:00
parent d4b3bc6ce4
commit adcfdeabfa

View File

@ -146,14 +146,13 @@ const UserList: React.FC<UserListProps> = (props: UserListProps) => {
}, [users, sendJsonMessage]); }, [users, sendJsonMessage]);
return ( return (
<Box sx={{ position: "relative", width: "100%" }}>
<Paper <Paper
className={`UserList ${videoClass}`} className={`UserList ${videoClass}`}
sx={{ sx={{
maxWidth: { xs: "100%", sm: 500 }, maxWidth: { xs: "100%", sm: 500 },
p: { xs: 1, sm: 2 }, p: { xs: 1, sm: 2 },
m: { xs: 0, sm: 2 }, m: { xs: 0, sm: 2 },
maxHeight: "80vh",
overflowY: "auto",
}} }}
> >
<MediaAgent {...{ session, socketUrl, peers, setPeers }} /> <MediaAgent {...{ session, socketUrl, peers, setPeers }} />
@ -261,6 +260,7 @@ const UserList: React.FC<UserListProps> = (props: UserListProps) => {
</DialogActions> </DialogActions>
</Dialog> </Dialog>
</Paper> </Paper>
</Box>
); );
}; };