forked from AkkomaGang/akkoma-fe
Revert
This commit is contained in:
parent
28660d6986
commit
66a105a519
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue