better handling of unknown files, better upload display
This commit is contained in:
parent
bfe31e20ea
commit
8bab8658e8
4 changed files with 54 additions and 5 deletions
|
@ -65,10 +65,11 @@ const Attachment = {
|
|||
return [
|
||||
{
|
||||
'-loading': this.loading,
|
||||
'-nsfw-placeholder': this.hidden
|
||||
'-nsfw-placeholder': this.hidden,
|
||||
'-editable': this.edit !== undefined
|
||||
},
|
||||
'-' + this.type,
|
||||
'-' + this.size,
|
||||
'-type-' + this.type,
|
||||
this.size && '-size-' + this.size,
|
||||
`-${this.useContainFit ? 'contain' : 'cover'}-fit`
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue