diff --git a/static/js/pandora/home.padma.js b/static/js/pandora/home.padma.js index b4e02f423..19b025642 100644 --- a/static/js/pandora/home.padma.js +++ b/static/js/pandora/home.padma.js @@ -271,7 +271,7 @@ pandora.ui.home = function() { if (lists.length) { $label = Ox.Label({ textAlign: 'center', - title: 'Featured List' + (lists.length >= items ? 's' : '') + '', + title: 'Featured List' + (lists.length > 1 ? 's' : '') + '', width: 512 }) .css({ @@ -331,7 +331,7 @@ pandora.ui.home = function() { } }) .appendTo($lists); - if (lists.length >= items) { + if (lists.length > 1) { $listsBox = $('
') .css({ position: 'absolute', @@ -357,7 +357,10 @@ pandora.ui.home = function() { .css({ position: 'absolute', width: lists.length * 65 + 'px', - height: '65px' + height: '65px', + marginLeft: lists.length < items + ? (items - lists.length) * 65 / 2 + 'px' + : 0 }) .appendTo($listsContainer); if (lists.length > items) {