This commit is contained in:
Edijs 2019-02-22 13:53:43 -07:00
parent 28660d6986
commit 66a105a519

View File

@ -34,9 +34,7 @@ const Gallery = {
return rows
},
rowHeight () {
return itemsPerRow => ({
'height': this.attachments.length === 1 ? '260px' : `${(this.width / (itemsPerRow + 0.6))}px`
})
return itemsPerRow => ({ 'height': `${(this.width / (itemsPerRow + 0.6))}px` })
},
useContainFit () {
return this.$store.state.config.useContainFit