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:
parent
5783b78b08
commit
866c468d7e
4 changed files with 94 additions and 40 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue