mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
update image sizes
This commit is contained in:
parent
974c2feacc
commit
11d47439e7
@ -304,7 +304,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.coveredCardImage {
|
.coveredCardImage {
|
||||||
background-size: cover;
|
background-size: 100% 100%;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1712,8 +1712,6 @@
|
|||||||
|
|
||||||
var dateText;
|
var dateText;
|
||||||
|
|
||||||
var allowImageStretching = !(Dashboard.lastSystemInfo && Dashboard.lastSystemInfo.ImageEnhancers && Dashboard.lastSystemInfo.ImageEnhancers.length);
|
|
||||||
|
|
||||||
for (var i = 0, length = items.length; i < length; i++) {
|
for (var i = 0, length = items.length; i < length; i++) {
|
||||||
|
|
||||||
var item = items[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;
|
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 html = '';
|
||||||
var imgUrl = null;
|
var imgUrl = null;
|
||||||
@ -2016,10 +2014,6 @@
|
|||||||
imageCssClass += " iconCardImage";
|
imageCssClass += " iconCardImage";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (coverImage && !options.coverImage && !allowImageStretching) {
|
|
||||||
coverImage = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (coverImage) {
|
if (coverImage) {
|
||||||
imageCssClass += " coveredCardImage";
|
imageCssClass += " coveredCardImage";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user