From 232a80a848402db80e947bd223773ab856e2b8ec Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 27 Nov 2022 14:35:55 -0600 Subject: [PATCH] Fix playlist cover for single item playlsit --- client/components/covers/PlaylistCover.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/components/covers/PlaylistCover.vue b/client/components/covers/PlaylistCover.vue index 6abd7e39..a90478db 100644 --- a/client/components/covers/PlaylistCover.vue +++ b/client/components/covers/PlaylistCover.vue @@ -2,7 +2,7 @@
- +
@@ -28,6 +28,10 @@ export default { sizeMultiplier() { return this.width / (120 * 1.6 * 2) }, + itemCoverWidth() { + if (this.libraryItemCovers.length === 1) return this.width + return this.width / 2 + }, libraryItemCovers() { if (!this.items.length) return [] if (this.items.length === 1) return [this.items[0].libraryItem]