Revert code

This commit is contained in:
Edijs 2019-02-28 11:16:16 +08:00
parent 66a105a519
commit 882e024331

View File

@ -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"