diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index 84656ffa..bd424087 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -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`
]
},
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 9b1e83a7..b8be82da 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -15,8 +15,37 @@
@click.prevent=""
>
+ {{ localDescription }} +
+