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) Make the name fit the chat bubble

robertpine56c7070c25f
diff --git a/react/features/chat/components/web/ChatMessage.tsx b/react/features/chat/components/web/ChatMessage.tsx
index fc19dfabbe..4cae5ca2e1 100644
--- a/react/features/chat/components/web/ChatMessage.tsx
+++ b/react/features/chat/components/web/ChatMessage.tsx
@@ -23,7 +23,7 @@ interface IProps extends AbstractProps {
const styles = (theme: Theme) => {
return {
chatMessageWrapper: {
- maxWidth: '100%'
+ maxWidth: 'calc(100% - 40px)' // 100% - avatar and margin
},
chatMessage: {
@@ -62,7 +62,8 @@ const styles = (theme: Theme) => {
replyWrapper: {
display: 'flex',
flexDirection: 'row' as const,
- alignItems: 'center'
+ alignItems: 'center',
+ maxWidth: '100%'
},
messageContent: {