Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(chat): re-fix letting long messages wrap

Leonard Kim5a53d7f32a7b
diff --git a/css/_chat.scss b/css/_chat.scss
index 36f5fc9b0e..ef5fb61e64 100644
--- a/css/_chat.scss
+++ b/css/_chat.scss
@@ -312,6 +312,10 @@
}
}
+ .chatmessage-wrapper {
+ max-width: 100%;
+ }
+
.chatmessage {
background-color: $chatRemoteMessageBackgroundColor;
border-radius: 0px 6px 6px 6px;
diff --git a/react/features/chat/components/web/ChatMessage.js b/react/features/chat/components/web/ChatMessage.js
index 7e436166e4..5b1c8e0011 100644
--- a/react/features/chat/components/web/ChatMessage.js
+++ b/react/features/chat/components/web/ChatMessage.js
@@ -56,7 +56,7 @@ class ChatMessage extends AbstractChatMessage<Props> {
});
return (
- <div>
+ <div className = 'chatmessage-wrapper'>
<div className = 'chatmessage'>
{ this.props.showDisplayName && this._renderDisplayName() }
<div className = 'usermessage'>