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
parent 38edcdca4b
commit 6d3e096e08
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