From d5fafd8cab47114081de1abb84b9703746ad540c Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 12 May 2022 18:24:36 -0500 Subject: [PATCH] Fix:Bookshelf list view wrong entity height #179 --- components/bookshelf/LazyBookshelf.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/bookshelf/LazyBookshelf.vue b/components/bookshelf/LazyBookshelf.vue index 6ca0c1fa..18dba08e 100644 --- a/components/bookshelf/LazyBookshelf.vue +++ b/components/bookshelf/LazyBookshelf.vue @@ -3,7 +3,7 @@ @@ -25,11 +25,11 @@ export default { mixins: [bookshelfCardsHelpers], data() { return { + entitiesPerShelf: 2, bookshelfHeight: 0, bookshelfWidth: 0, bookshelfMarginLeft: 0, shelvesPerPage: 0, - entitiesPerShelf: 2, currentPage: 0, booksPerFetch: 20, initialized: false, @@ -119,7 +119,7 @@ export default { return this.$store.getters['libraries/getCurrentLibraryMediaType'] }, shelfHeight() { - if (this.showBookshelfListView) return this.entityHeight + if (this.showBookshelfListView) return this.entityHeight + 16 return this.entityHeight + 40 }, totalEntityCardWidth() {