mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Merge pull request #330 from mx03/groupcoverlimit
Fix: Group cover does not use full width
This commit is contained in:
commit
fe18321e0c
@ -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…
Reference in New Issue
Block a user