diff --git a/assets/css/pages/conversations/conversation.css b/assets/css/pages/conversations/conversation.css index f4af3e86..63e130e7 100644 --- a/assets/css/pages/conversations/conversation.css +++ b/assets/css/pages/conversations/conversation.css @@ -69,8 +69,13 @@ margin: auto; } -.big-box-conversation .direct-chat-text .a, -.big-box-conversation .direct-chat-text a { +.big-box-conversation .otheruser .direct-chat-text .a, +.big-box-conversation .otheruser .direct-chat-text a { + color: black; +} + +.big-box-conversation .curruser .direct-chat-text .a, +.big-box-conversation .curruser .direct-chat-text a { color: white; } diff --git a/assets/js/pages/conversations/conversation.js b/assets/js/pages/conversations/conversation.js index 3b6edf53..e0ab8875 100644 --- a/assets/js/pages/conversations/conversation.js +++ b/assets/js/pages/conversations/conversation.js @@ -223,7 +223,7 @@ const ConversationPageConvPart = { //Create message container var messageContainer = createElem2({ type: "div", - class: "direct-chat-msg " + (userIsOwner ? "curruser" : "") + class: "direct-chat-msg " + (userIsOwner ? "curruser" : "otheruser") }); //Apply message container