mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
update image sizes
This commit is contained in:
parent
974c2feacc
commit
11d47439e7
@ -304,7 +304,7 @@
|
||||
}
|
||||
|
||||
.coveredCardImage {
|
||||
background-size: cover;
|
||||
background-size: 100% 100%;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
|
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user