mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-23 19:37:52 +00:00
added max width and height to reaction list
This commit is contained in:
parent
875df958f8
commit
6eb7250c53
@ -296,7 +296,11 @@ export const MessageItem = ({
|
|||||||
<Typography variant="subtitle1" sx={{ marginBottom: 1 }}>
|
<Typography variant="subtitle1" sx={{ marginBottom: 1 }}>
|
||||||
People who reacted with {selectedReaction}
|
People who reacted with {selectedReaction}
|
||||||
</Typography>
|
</Typography>
|
||||||
<List>
|
<List sx={{
|
||||||
|
overflow: 'auto',
|
||||||
|
maxWidth: '300px',
|
||||||
|
maxHeight: '300px'
|
||||||
|
}}>
|
||||||
{reactions[selectedReaction]?.map((reactionItem) => (
|
{reactions[selectedReaction]?.map((reactionItem) => (
|
||||||
<ListItem key={reactionItem.sender}>
|
<ListItem key={reactionItem.sender}>
|
||||||
<ListItemText
|
<ListItemText
|
||||||
|
Loading…
x
Reference in New Issue
Block a user