add inbox height

This commit is contained in:
j 2019-01-30 18:16:01 +05:30
parent 0234b8dffb
commit 3969f6dfa7

View file

@ -340,8 +340,9 @@ oml.ui.folders = function() {
var items = lists.filter(function(list) {
return list.user == '' && list.type != 'library' && list.name != 'Inbox';
});
// Library + Inbox + lists
oml.$ui.folder[0].$content
.css({height: 16 + items.length * 16 + 'px'});
.css({height: 16 + 16 + items.length * 16 + 'px'});
oml.$ui.folderList[0].options({
items: Ox.clone(items, true)
})