fix(chat) Break long text in multiple lines (#12842)
This commit is contained in:
parent
42838e756c
commit
921f3ee8cd
|
@ -93,7 +93,8 @@ const styles = (theme: Theme) => {
|
||||||
userMessage: {
|
userMessage: {
|
||||||
...withPixelLineHeight(theme.typography.bodyShortRegular),
|
...withPixelLineHeight(theme.typography.bodyShortRegular),
|
||||||
color: theme.palette.text01,
|
color: theme.palette.text01,
|
||||||
whiteSpace: 'pre-wrap'
|
whiteSpace: 'pre-wrap',
|
||||||
|
wordBreak: 'break-word'
|
||||||
},
|
},
|
||||||
|
|
||||||
privateMessageNotice: {
|
privateMessageNotice: {
|
||||||
|
|
|
@ -26,7 +26,8 @@ const useStyles = makeStyles()(theme => {
|
||||||
return {
|
return {
|
||||||
messageGroup: {
|
messageGroup: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column'
|
flexDirection: 'column',
|
||||||
|
maxWidth: '100%'
|
||||||
},
|
},
|
||||||
|
|
||||||
groupContainer: {
|
groupContainer: {
|
||||||
|
|
Loading…
Reference in New Issue