Fix mobile ereader for new data model

This commit is contained in:
advplyr 2022-04-16 06:10:10 -05:00
parent 066050700c
commit 6cea0ba03d
5 changed files with 60 additions and 45 deletions

View file

@ -141,7 +141,7 @@ export default {
return this.bookCoverAspectRatio === 1
},
sizeMultiplier() {
return this.width / 364
return Math.min(1, this.width / 364)
},
title() {
return this.mediaMetadata.title || ''