Fix issue on message content in new conversation messages dropdown

This commit is contained in:
Pierre 2018-04-20 08:04:42 +02:00
parent 94b2406d89
commit eb2a9b3947
2 changed files with 8 additions and 2 deletions

View File

@ -6,4 +6,9 @@
.no-unread-conversation-msg { .no-unread-conversation-msg {
padding: 20px; padding: 20px;
}
.new-conversations-dropdown .message-content {
white-space: normal;
font-style: italic;
} }

View File

@ -18,7 +18,7 @@ ComunicWeb.components.conversations.unreadDropdown = {
var dropdown = createElem2({ var dropdown = createElem2({
appendTo: target, appendTo: target,
type: "li", type: "li",
class: "dropdown messages-menu" class: "dropdown messages-menu new-conversations-dropdown"
}); });
//Add dropdown toggle //Add dropdown toggle
@ -225,7 +225,8 @@ ComunicWeb.components.conversations.unreadDropdown = {
var conversationMessage = createElem2({ var conversationMessage = createElem2({
appendTo: convLink, appendTo: convLink,
type: "p", type: "p",
innerHTML: "<em>"+conversation.message+"</em>" class: "message-content",
innerHTML: conversation.message
}); });
//Make the conversation link lives //Make the conversation link lives