Skip to content

Commit

Permalink
Make chat area scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
StreetLamb committed May 3, 2024
1 parent 0d52350 commit 4a1cbb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Teams/ChatTeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const ChatTeam = () => {
/>
</InputRightElement>
</InputGroup>
<Box p={2}>
<Box p={2} overflow={"auto"} height="72vh" my={2}>
{messages.map((message, index) => (
<MessageBox key={index} message={message} />
))}
Expand Down

0 comments on commit 4a1cbb7

Please sign in to comment.