fix(chat) Break long text in multiple lines (#12842)

This commit is contained in:
Robert Pintilii 2023-01-30 10:48:17 +02:00 committed by GitHub
parent 42838e756c
commit 921f3ee8cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -93,7 +93,8 @@ const styles = (theme: Theme) => {
userMessage: {
...withPixelLineHeight(theme.typography.bodyShortRegular),
color: theme.palette.text01,
whiteSpace: 'pre-wrap'
whiteSpace: 'pre-wrap',
wordBreak: 'break-word'
},
privateMessageNotice: {

View File

@ -26,7 +26,8 @@ const useStyles = makeStyles()(theme => {
return {
messageGroup: {
display: 'flex',
flexDirection: 'column'
flexDirection: 'column',
maxWidth: '100%'
},
groupContainer: {