diff --git a/static/js/folders.js b/static/js/folders.js index 02c74dd..f4e84a3 100644 --- a/static/js/folders.js +++ b/static/js/folders.js @@ -176,7 +176,8 @@ oml.ui.folders = function() { $content = oml.$ui.folder[index].$content .css({ - height: (2 + items.length) * 16 + 'px' + // user also has inbox + height: ((index ? 1 : 2) + items.length) * 16 + 'px' }); $lists.push( @@ -365,9 +366,9 @@ oml.ui.folders = function() { oml.$ui.libraryList[index].options({ items: library }); - // library + public + lists + // library + inbox + lists oml.$ui.folder[index].$content - .css({height: 16 + 16 + items.length * 16 + 'px'}); + .css({height: (index ? 16 : 32) + items.length * 16 + 'px'}); oml.$ui.folderList[index].options({ items: items })