Revert
This commit is contained in:
parent
28660d6986
commit
66a105a519
@ -34,9 +34,7 @@ const Gallery = {
|
|||||||
return rows
|
return rows
|
||||||
},
|
},
|
||||||
rowHeight () {
|
rowHeight () {
|
||||||
return itemsPerRow => ({
|
return itemsPerRow => ({ 'height': `${(this.width / (itemsPerRow + 0.6))}px` })
|
||||||
'height': this.attachments.length === 1 ? '260px' : `${(this.width / (itemsPerRow + 0.6))}px`
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
useContainFit () {
|
useContainFit () {
|
||||||
return this.$store.state.config.useContainFit
|
return this.$store.state.config.useContainFit
|
||||||
|
Loading…
Reference in New Issue
Block a user