Fix white theme issue

This commit is contained in:
Pierre HUBERT 2021-03-13 08:47:45 +01:00
parent 2d9734a1ff
commit 0a5a2637f5
2 changed files with 8 additions and 3 deletions

View File

@ -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;
}

View File

@ -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