update image sizes

This commit is contained in:
Luke Pulverenti 2015-11-12 21:44:50 -05:00
parent 974c2feacc
commit 11d47439e7
2 changed files with 3 additions and 9 deletions

View File

@ -304,7 +304,7 @@
}
.coveredCardImage {
background-size: cover;
background-size: 100% 100%;
background-position: center center;
}

View File

@ -1712,8 +1712,6 @@
var dateText;
var allowImageStretching = !(Dashboard.lastSystemInfo && Dashboard.lastSystemInfo.ImageEnhancers && Dashboard.lastSystemInfo.ImageEnhancers.length);
for (var i = 0, length = items.length; i < length; i++) {
var item = items[i];
@ -1750,13 +1748,13 @@
}
}
html += LibraryBrowser.getPosterViewItemHtml(item, i, options, primaryImageAspectRatio, thumbWidth, posterWidth, squareSize, bannerWidth, allowImageStretching);
html += LibraryBrowser.getPosterViewItemHtml(item, i, options, primaryImageAspectRatio, thumbWidth, posterWidth, squareSize, bannerWidth);
}
return html;
},
getPosterViewItemHtml: function (item, index, options, primaryImageAspectRatio, thumbWidth, posterWidth, squareSize, bannerWidth, allowImageStretching) {
getPosterViewItemHtml: function (item, index, options, primaryImageAspectRatio, thumbWidth, posterWidth, squareSize, bannerWidth) {
var html = '';
var imgUrl = null;
@ -2016,10 +2014,6 @@
imageCssClass += " iconCardImage";
}
if (coverImage && !options.coverImage && !allowImageStretching) {
coverImage = false;
}
if (coverImage) {
imageCssClass += " coveredCardImage";
}