mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-24 04:44:57 +02:00
Introduce static skeleton cards
This commit is contained in:
parent
ba55413e63
commit
921880445a
4 changed files with 20 additions and 3 deletions
|
@ -57,9 +57,10 @@ export default {
|
|||
for (let entry of entries) {
|
||||
this.cardWidth = entry.borderBoxSize[0].inlineSize
|
||||
this.cardHeight = entry.borderBoxSize[0].blockSize
|
||||
this.resizeObserver.disconnect()
|
||||
this.$refs.bookshelf.removeChild(instance.$el)
|
||||
}
|
||||
this.coverHeight = instance.coverHeight
|
||||
this.resizeObserver.disconnect()
|
||||
this.$refs.bookshelf.removeChild(instance.$el)
|
||||
})
|
||||
instance.$el.style.visibility = 'hidden'
|
||||
instance.$el.style.position = 'absolute'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue