Enabled slimScroll on conversation list

This commit is contained in:
Pierre 2017-06-13 17:03:02 +02:00
parent 78df5455c3
commit aa74943b01
2 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,10 @@
* @author Pierre HUBERT * @author Pierre HUBERT
*/ */
.conversations-list-box ul {
max-height: 250px;
}
.conversations-list-box .last-activity { .conversations-list-box .last-activity {
margin-left: 5px; margin-left: 5px;
color: #777; color: #777;

View File

@ -226,6 +226,11 @@ ComunicWeb.components.conversations.list = {
ComunicWeb.components.conversations.list.showConversationEntry(conversationInfos, liElem, listBox); ComunicWeb.components.conversations.list.showConversationEntry(conversationInfos, liElem, listBox);
} }
//Enable scrollbar
$(ulElem).slimScroll({
height: '100%'
});
}, true); }, true);
//Success //Success