mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 17:24:57 +02:00
Merge pull request #330 from mx03/groupcoverlimit
Fix: Group cover does not use full width
This commit is contained in:
commit
fe18321e0c
1 changed files with 3 additions and 5 deletions
|
@ -302,6 +302,8 @@ export default {
|
|||
}
|
||||
this.noValidCovers = false
|
||||
|
||||
validCovers = validCovers.slice(0, 10);
|
||||
|
||||
var coverWidth = this.width
|
||||
var widthPer = this.width
|
||||
if (validCovers.length > 1) {
|
||||
|
@ -324,10 +326,6 @@ export default {
|
|||
var img = await this.buildCoverImg(validCovers[i], coverWidth, offsetLeft, zIndex, validCovers.length === 1)
|
||||
outerdiv.appendChild(img)
|
||||
coverImageEls.push(img)
|
||||
|
||||
if(coverImageEls.length >= 30) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.showCoverFan) {
|
||||
|
@ -355,4 +353,4 @@ export default {
|
|||
if (this.coverDiv) this.coverDiv.remove()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue