aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.js
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/attachment/attachment.js
parentb4cbbefbd2dac62a0e334da43d1e076d4bef00a7 (diff)
Fix notification attachment icon overflow
Diffstat (limited to 'src/components/attachment/attachment.js')
-rw-r--r--src/components/attachment/attachment.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index 5dc50475..6e14b24d 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -36,6 +36,7 @@ library.add(
const Attachment = {
props: [
'attachment',
+ 'compact',
'description',
'hideDescription',
'nsfw',
@@ -71,7 +72,8 @@ const Attachment = {
{
'-loading': this.loading,
'-nsfw-placeholder': this.hidden,
- '-editable': this.edit !== undefined
+ '-editable': this.edit !== undefined,
+ '-compact': this.compact
},
'-type-' + this.type,
this.size && '-size-' + this.size,