From a58a6d3c357592f34007c67bbf7fdf740864212a Mon Sep 17 00:00:00 2001 From: tusooa Date: Sat, 14 Jan 2023 23:20:28 -0500 Subject: Fix notification attachment icon overflow --- src/components/attachment/attachment.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components/attachment/attachment.js') 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, -- cgit v1.2.3-70-g09d2