diff options
| author | Edijs <iamedijs@hotmail.com> | 2019-02-28 11:16:16 +0800 |
|---|---|---|
| committer | Edijs <iamedijs@hotmail.com> | 2019-02-28 11:16:16 +0800 |
| commit | 882e0243313e8f08e5e8995a6374b79f886c91a6 (patch) | |
| tree | 197d7aa9dd30dd7602f224a5846feac619387b31 /src/components/gallery/gallery.vue | |
| parent | 66a105a519ee3a83a2a4354ed36f59355a45f970 (diff) | |
Revert code
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" |
