Fix styling and sorting for for recently added items.

This commit is contained in:
Tim 2015-06-17 16:37:04 +02:00
commit 253a1efb3a
3 changed files with 5 additions and 5 deletions

View file

@ -73,7 +73,7 @@
function recentlyAdded() {
var widthVal = $('body').find(".container-fluid").width();
var tmp = widthVal / 182;
var tmp = (widthVal-20) / 182;
if (tmp > 0) {
containerSize = parseInt(tmp);

View file

@ -21,7 +21,7 @@
% elif item['type'] == 'movie':
<h3>${item['title']} (${item['year']})</h3>
% endif
<h4><span id="addedAt-${item['ratingKey']}">${item['addedAt']}</span></h4>
<div class="muted" id="addedAt-${item['ratingKey']}">${item['addedAt']}</div>
</div>
</li>
</div>