As suggested by @MrTimscampi defaultCardBackground

This commit is contained in:
samuel9554 2020-04-13 08:18:09 -04:00
parent c19385c936
commit 46a055935b
2 changed files with 8 additions and 1 deletions

View File

@ -209,6 +209,13 @@
margin: 0; margin: 0;
} }
.nowPlayingAlbum,
.nowPlayingArtist {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.nowPlayingInfoContainerMedia { .nowPlayingInfoContainerMedia {
text-align: left !important; text-align: left !important;
width: 80%; width: 80%;

View File

@ -194,7 +194,7 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
context.querySelector(".nowPlayingPageImage").classList.remove("nowPlayingPageImageAudio"); context.querySelector(".nowPlayingPageImage").classList.remove("nowPlayingPageImageAudio");
} }
} else { } else {
imgContainer.innerHTML = '<div class="nowPlayingPageImageContainerNoAlbum"><button data-action="link" class="cardContent-button cardImageContainer coveredImage defaultCardBackground defaultCardBackground' + cardBuilder.getDefaultBackgroundClass(item.Name) + ' cardContent cardContent-shadow itemAction"><i class="cardImageIcon material-icons">album</i></button></div>'; imgContainer.innerHTML = '<div class="nowPlayingPageImageContainerNoAlbum"><button data-action="link" class="cardContent-button cardImageContainer coveredImage ' + cardBuilder.getDefaultBackgroundClass(item.Name) + ' cardContent cardContent-shadow itemAction"><i class="cardImageIcon material-icons">album</i></button></div>';
} }
} }