mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 01:05:25 +02:00
This commit is contained in:
parent
eab86f90a8
commit
e616b53877
8 changed files with 30 additions and 26 deletions
|
@ -121,6 +121,8 @@ export default {
|
|||
|
||||
var img = document.createElement('img')
|
||||
img.src = src
|
||||
img.alt = `${this.name}, ${this.$strings.LabelCover}`
|
||||
img.ariaHidden = true
|
||||
img.className = 'absolute top-0 left-0 w-full h-full'
|
||||
img.style.objectFit = showCoverBg ? 'contain' : 'cover'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue