mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-08 12:09:37 +00:00
Fix: Group cover does not use full width
This commit is contained in:
parent
111f038cb2
commit
372a0a2c3f
1 changed files with 2 additions and 4 deletions
|
|
@ -302,6 +302,8 @@ export default {
|
||||||
}
|
}
|
||||||
this.noValidCovers = false
|
this.noValidCovers = false
|
||||||
|
|
||||||
|
validCovers = validCovers.slice(0, 30);
|
||||||
|
|
||||||
var coverWidth = this.width
|
var coverWidth = this.width
|
||||||
var widthPer = this.width
|
var widthPer = this.width
|
||||||
if (validCovers.length > 1) {
|
if (validCovers.length > 1) {
|
||||||
|
|
@ -324,10 +326,6 @@ export default {
|
||||||
var img = await this.buildCoverImg(validCovers[i], coverWidth, offsetLeft, zIndex, validCovers.length === 1)
|
var img = await this.buildCoverImg(validCovers[i], coverWidth, offsetLeft, zIndex, validCovers.length === 1)
|
||||||
outerdiv.appendChild(img)
|
outerdiv.appendChild(img)
|
||||||
coverImageEls.push(img)
|
coverImageEls.push(img)
|
||||||
|
|
||||||
if(coverImageEls.length >= 30) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.showCoverFan) {
|
if (this.showCoverFan) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue