diff --git a/src/views/ChatHistory.jsx b/src/views/ChatHistory.jsx index a598790..a94ad0d 100644 --- a/src/views/ChatHistory.jsx +++ b/src/views/ChatHistory.jsx @@ -58,11 +58,11 @@ const Index = (props) => { <> - - + + - + diff --git a/src/views/Conversations/Conversations.css b/src/views/Conversations/Conversations.css index 1eecf19..c1486df 100644 --- a/src/views/Conversations/Conversations.css +++ b/src/views/Conversations/Conversations.css @@ -194,10 +194,10 @@ height: 100%; } .chatwindow-wrapper .whatsappme-container .rce-mbox{ - background-color: #ccd5ae; + /* background-color: #ccd5ae; */ } .chatwindow-wrapper .whatsappme-container .rce-mbox-right-notch{ - fill: #ccd5ae; + /* fill: #ccd5ae; */ } .chatwindow-wrapper .rce-mbox .rce-mbox-reply { background-color: rgba(236, 236, 236, 0.7); diff --git a/src/views/Conversations/History/MessagesList.jsx b/src/views/Conversations/History/MessagesList.jsx index 9df424e..4083a6e 100644 --- a/src/views/Conversations/History/MessagesList.jsx +++ b/src/views/Conversations/History/MessagesList.jsx @@ -263,9 +263,10 @@ const MessagesList = ({ ...listProps }) => { message.sender === 'me' ? 'whatsappme-container' : '', focusMsg === message.id ? 'message-box-focus' : '', message.status === 'failed' ? 'failed-msg' : '', + message.sender === 'me' ? (message.msg_source.toLowerCase() === 'waba' ? `[&_.rce-mbox]:bg-waba-me` : `[&_.rce-mbox]:bg-whatsapp-me`) : '', ].join(' ')} style={{ - backgroundColor: message.sender === 'me' ? '#ccd4ae' : '#fff', + // backgroundColor: message.sender === 'me' ? '#ccd4ae' : '#fff', }} {...(message.type === 'meetingLink' ? { @@ -281,7 +282,7 @@ const MessagesList = ({ ...listProps }) => { } : {})} renderAddCmp={ -
+