aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/gallery/gallery.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/gallery/gallery.js b/src/components/gallery/gallery.js
index c713ce07..7f33a81b 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