diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-22 20:47:35 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-22 20:47:35 +0300 |
| commit | b67db47c888dd45c49a49b82e7922c2bf40ed61c (patch) | |
| tree | 4b906ce653bc068c67619e25d643e05f51bc027c /src/components/gallery/gallery.vue | |
| parent | dd3fe61cf3cfcb1b41d1d34aa23ba99325d9dd56 (diff) | |
lint
Diffstat (limited to 'src/components/gallery/gallery.vue')
| -rw-r--r-- | src/components/gallery/gallery.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index 5a2de68d..18b94d58 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -1,8 +1,8 @@ <template> <div - class="Gallery" ref="galleryContainer" - :class="{ '-long': tooManyAttachments && hidingLong }" + class="Gallery" + :class="{ '-long': tooManyAttachments && hidingLong }" > <div class="gallery-rows"> <div @@ -18,8 +18,8 @@ > <attachment v-for="attachment in row.items" - class="gallery-item" :key="attachment.id" + class="gallery-item" :nsfw="nsfw" :attachment="attachment" :allow-play="false" @@ -28,7 +28,7 @@ :remove="removeAttachment" :edit="editAttachment" :description="descriptions && descriptions[attachment.id]" - :hideDescription="size === 'small' || tooManyAttachments && hidingLong" + :hide-description="size === 'small' || tooManyAttachments && hidingLong" :style="itemStyle(attachment.id, row.items)" @setMedia="onMedia" @naturalSizeLoad="onNaturalSizeLoad" @@ -41,7 +41,7 @@ class="many-attachments" > <div class="many-attachments-text"> - {{ $t("status.many_attachments", { number: attachments.length })}} + {{ $t("status.many_attachments", { number: attachments.length }) }} </div> <div class="many-attachments-buttons"> <span @@ -67,8 +67,8 @@ </button> </span> <span - class="many-attachments-button" v-if="hidingLong" + class="many-attachments-button" > <button class="button-unstyled -link" |
