From 280758f8674be4f9a23223ffa47b5805380bfa4f Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Mon, 20 Nov 2017 13:27:45 +0200
Subject: Hide unknown type attachments, polish the upload preview styling

---
 src/components/attachment/attachment.vue | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/components/attachment/attachment.vue')

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;
-- 
cgit v1.2.3-70-g09d2

