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

tweak the background color behavior

This commit is contained in:
dkanada 2021-02-16 22:52:28 +09:00
parent 4fd5818afd
commit 5f7b002b6e
5 changed files with 12 additions and 33 deletions

View file

@ -277,7 +277,7 @@ import cardBuilder from '../../components/cardbuilder/cardBuilder';
let hasCardImageContainer;
if (imgUrl) {
html += `<div class="cardImageContainer editLibrary ${cardBuilder.getDefaultBackgroundClass()}" style="cursor:pointer">`;
html += `<div class="cardImageContainer editLibrary ${imgUrl ? '' : cardBuilder.getDefaultBackgroundClass()}" style="cursor:pointer">`;
html += `<img src="${imgUrl}" style="width:100%" />`;
hasCardImageContainer = true;
} else if (!virtualFolder.showNameWithIcon) {