Skip to content

Commit

Permalink
fix(chat): ensure really long words can trigger wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard Kim authored and virtuacoplenny committed May 9, 2019
1 parent afde717 commit a114d55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 3 additions & 1 deletion css/_chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,10 @@
.chatmessage {
background-color: $chatRemoteMessageBackgroundColor;
border-radius: 0px 6px 6px 6px;
margin-top: 3px;
box-sizing: border-box;
color: white;
margin-top: 3px;
max-width: 100%;
padding-bottom: 3px;
position: relative;

Expand Down
11 changes: 5 additions & 6 deletions react/features/chat/components/web/ChatMessageGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ class ChatMessageGroup extends Component<Props> {
<div className = { `chat-message-group ${className}` }>
{
messages.map((message, i) => (
<div key = { i }>
<ChatMessage
key = { i }
message = { message }
showDisplayName = { i === 0 } />
</div>))
<ChatMessage
key = { i }
message = { message }
showDisplayName = { i === 0 } />
))
}
<div className = 'chat-message-group-footer'>
{ getLocalizedDateFormatter(
Expand Down

0 comments on commit a114d55

Please sign in to comment.