aboutsummaryrefslogtreecommitdiff
path: root/src/components/gallery
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-14 23:20:28 -0500
committertusooa <tusooa@kazv.moe>2023-01-14 23:20:28 -0500
commita58a6d3c357592f34007c67bbf7fdf740864212a (patch)
tree2e2ac199dfc9b1f00b2acd998db3ea52196cc102 /src/components/gallery
parentb4cbbefbd2dac62a0e334da43d1e076d4bef00a7 (diff)
Fix notification attachment icon overflow
Diffstat (limited to 'src/components/gallery')
-rw-r--r--src/components/gallery/gallery.js1
-rw-r--r--src/components/gallery/gallery.vue1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/gallery/gallery.js b/src/components/gallery/gallery.js
index 4e1bda55..e86a3eea 100644
--- a/src/components/gallery/gallery.js
+++ b/src/components/gallery/gallery.js
@@ -4,6 +4,7 @@ import { sumBy, set } from 'lodash'
const Gallery = {
props: [
'attachments',
+ 'compact',
'limitRows',
'descriptions',
'limit',
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index ccf6e3e2..bc18f545 100644
--- a/src/components/gallery/gallery.vue
+++ b/src/components/gallery/gallery.vue
@@ -20,6 +20,7 @@
v-for="(attachment, attachmentIndex) in row.items"
:key="attachment.id"
class="gallery-item"
+ :compact="compact"
:nsfw="nsfw"
:attachment="attachment"
:size="size"