diff options
| author | Edijs <iamedijs@hotmail.com> | 2019-02-22 13:53:43 -0700 |
|---|---|---|
| committer | Edijs <iamedijs@hotmail.com> | 2019-02-22 13:53:43 -0700 |
| commit | 66a105a519ee3a83a2a4354ed36f59355a45f970 (patch) | |
| tree | d6660c579fd8951eafcd405eba5286f379863ec9 | |
| parent | 28660d698650d3a4fd8bda08b694444e88d7afda (diff) | |
Revert
| -rw-r--r-- | src/components/gallery/gallery.js | 4 |
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 |
