diff options
Diffstat (limited to 'src/components/gallery/gallery.vue')
| -rw-r--r-- | src/components/gallery/gallery.vue | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index 90888c21..3f90caa9 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -1,11 +1,6 @@ <template> <div ref="galleryContainer" style="width: 100%;"> - <div - v-for="(row, row_num) in rows" - :key="row_num" - :style="rowHeight(row.length)" - :class="{ 'gallery-row': true, 'contain-fit': useContainFit, 'cover-fit': !useContainFit }" - > + <div class="gallery-row" v-for="row in rows" :style="rowHeight(row.length)" :class="{ 'contain-fit': useContainFit, 'cover-fit': !useContainFit }"> <attachment v-for="attachment in row" :setMedia="setMedia" |
