From 0c1a0f5d01715214400f565e1ed9175a8adab2b0 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 4 Dec 2021 16:21:10 -0600 Subject: [PATCH] Fix:Bookshelf shadow,Fix:Series volume sort --- client/assets/app.css | 5 ++++- client/components/app/LazyBookshelf.vue | 7 ++----- client/components/cards/LazyCollectionCard.vue | 3 ++- client/components/cards/LazySeriesCard.vue | 5 +++-- server/controllers/LibraryController.js | 7 +------ 5 files changed, 12 insertions(+), 15 deletions(-) diff --git a/client/assets/app.css b/client/assets/app.css index 57827680..867a9d86 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -148,6 +148,9 @@ input[type=number] { .box-shadow-book { box-shadow: 4px 1px 8px #11111166, -4px 1px 8px #11111166, 1px -4px 8px #11111166; } +.shadow-height { + height: calc(100% - 4px); +} .box-shadow-book3d { box-shadow: 4px 1px 8px #11111166, 1px -4px 8px #11111166; @@ -182,4 +185,4 @@ Bookshelf Label background-position: center; opacity: 1; filter: blur(20px); -} \ No newline at end of file +} diff --git a/client/components/app/LazyBookshelf.vue b/client/components/app/LazyBookshelf.vue index 272d0671..1049ebe9 100644 --- a/client/components/app/LazyBookshelf.vue +++ b/client/components/app/LazyBookshelf.vue @@ -5,7 +5,7 @@ -
+
@@ -146,9 +146,6 @@ export default { // Includes margin return this.entityWidth + 24 }, - booksPerPage() { - return this.shelvesPerPage * this.entitiesPerShelf - }, selectedAudiobooks() { return this.$store.state.selectedAudiobooks || [] } @@ -226,7 +223,7 @@ export default { return } if (payload) { - console.log('Received payload', payload) + // console.log('Received payload', payload) if (!this.initialized) { this.initialized = true this.totalEntities = payload.total diff --git a/client/components/cards/LazyCollectionCard.vue b/client/components/cards/LazyCollectionCard.vue index 34603782..e888687c 100644 --- a/client/components/cards/LazyCollectionCard.vue +++ b/client/components/cards/LazyCollectionCard.vue @@ -1,5 +1,6 @@