Fix notification attachment icon overflow

This commit is contained in:
tusooa 2023-01-14 23:20:28 -05:00
commit a58a6d3c35
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
6 changed files with 15 additions and 4 deletions

View file

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