diff options
Diffstat (limited to 'src/components/attachment')
| -rw-r--r-- | src/components/attachment/attachment.js | 2 | ||||
| -rw-r--r-- | src/components/attachment/attachment.vue | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index de551611..8a2a3826 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -24,7 +24,7 @@ const Attachment = { return this.nsfw && this.hideNsfwLocal && !this.showHidden }, isEmpty () { - return this.type === 'html' && !this.attachment.oembed + return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown' } }, methods: { diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 954c46b4..20d10cce 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -80,6 +80,8 @@ } img.media-upload { + margin-bottom: -2px; + max-height: 300px; width: 100%; height: 100%; flex: 1; |
