Update series and collection width to account for book aspect ratio

This commit is contained in:
mikiher 2024-08-24 08:49:40 +03:00 committed by Nicholas Wallace
parent 9b87d5500e
commit a250915fde
3 changed files with 2 additions and 31 deletions

View file

@ -65,7 +65,7 @@ export default {
return this.store.getters['libraries/getBookCoverAspectRatio']
},
cardWidth() {
return this.width || this.coverHeight * 2
return this.width || (this.coverHeight / this.bookCoverAspectRatio) * 2
},
coverHeight() {
return this.height * this.sizeMultiplier