1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

a little attention to the games page

This commit is contained in:
Luke Pulverenti 2013-09-08 17:16:13 -04:00
parent 5783b78b08
commit 866c468d7e
4 changed files with 94 additions and 40 deletions

View file

@ -640,6 +640,10 @@
cssClass += " transparentPosterItem";
}
if (options.borderless) {
cssClass += " borderlessPosterItem";
}
cssClass += ' ' + options.shape + 'PosterItem';
html += '<a class="' + cssClass + '" href="' + LibraryBrowser.getHref(item, options.context) + '">';
@ -654,6 +658,10 @@
style += "background-color:" + background + ";";
}
if (options.imagePosition) {
style += "background-position:" + options.imagePosition + ";";
}
html += '<div class="posterItemImage" style="' + style + '"></div>';
var name = LibraryBrowser.getPosterViewDisplayName(item);