mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Fix issue on message content in new conversation messages dropdown
This commit is contained in:
parent
94b2406d89
commit
eb2a9b3947
@ -7,3 +7,8 @@
|
|||||||
.no-unread-conversation-msg {
|
.no-unread-conversation-msg {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.new-conversations-dropdown .message-content {
|
||||||
|
white-space: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user