added max width and height to reaction list

This commit is contained in:
PhilReact 2024-12-03 12:46:20 +02:00
parent 875df958f8
commit 6eb7250c53

View File

@ -296,7 +296,11 @@ export const MessageItem = ({
<Typography variant="subtitle1" sx={{ marginBottom: 1 }}>
People who reacted with {selectedReaction}
</Typography>
<List>
<List sx={{
overflow: 'auto',
maxWidth: '300px',
maxHeight: '300px'
}}>
{reactions[selectedReaction]?.map((reactionItem) => (
<ListItem key={reactionItem.sender}>
<ListItemText