fix word break

This commit is contained in:
nflnkr 2023-04-07 16:33:03 +03:00 committed by krokodilka
parent 03e6d87a5d
commit 03afb6afa6

@ -35,7 +35,7 @@ export default function Message({ message, isSelf }: Props) {
borderTopRightRadius: isSelf ? 0 : "20px", borderTopRightRadius: isSelf ? 0 : "20px",
maxWidth: "90%", maxWidth: "90%",
}}> }}>
<Typography fontSize="14px"> <Typography fontSize="14px" sx={{ wordBreak: "break-word" }}>
{message.message} {message.message}
</Typography> </Typography>
</Box> </Box>