mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 01:48:50 +00:00
Fix issue on message content in new conversation messages dropdown
This commit is contained in:
parent
94b2406d89
commit
eb2a9b3947
@ -6,4 +6,9 @@
|
||||
|
||||
.no-unread-conversation-msg {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.new-conversations-dropdown .message-content {
|
||||
white-space: normal;
|
||||
font-style: italic;
|
||||
}
|
@ -18,7 +18,7 @@ ComunicWeb.components.conversations.unreadDropdown = {
|
||||
var dropdown = createElem2({
|
||||
appendTo: target,
|
||||
type: "li",
|
||||
class: "dropdown messages-menu"
|
||||
class: "dropdown messages-menu new-conversations-dropdown"
|
||||
});
|
||||
|
||||
//Add dropdown toggle
|
||||
@ -225,7 +225,8 @@ ComunicWeb.components.conversations.unreadDropdown = {
|
||||
var conversationMessage = createElem2({
|
||||
appendTo: convLink,
|
||||
type: "p",
|
||||
innerHTML: "<em>"+conversation.message+"</em>"
|
||||
class: "message-content",
|
||||
innerHTML: conversation.message
|
||||
});
|
||||
|
||||
//Make the conversation link lives
|
||||
|
Loading…
Reference in New Issue
Block a user