diff --git a/src/components/gallery/gallery.js b/src/components/gallery/gallery.js index c713ce07bb..7f33a81b86 100644 --- a/src/components/gallery/gallery.js +++ b/src/components/gallery/gallery.js @@ -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