aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-02-03 20:32:13 +0300
committerHenry Jameson <me@hjkos.com>2018-03-12 01:30:27 +0300
commit55bc1a3414ac15b08554a43c00f7f631ca1d304a (patch)
treee18c50a9edfc0ba6960dd675bbd18243b7fd449a /src/components/attachment/attachment.vue
parent3257991f4196cb6c2c77b3f81ec9f1850e243211 (diff)
fixed stretched spurdo in notifications, misc fixes, detect gif by extension for now
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 4ee5153b..a1b35d91 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -126,7 +126,13 @@
display: flex;
flex: 1;
+ .still-image {
+ width: 100%;
+ height: 100%;
+ }
+
img {
+ object-fit: contain;
width: 100%;
height: 100%; /* If this isn't here, chrome will stretch the images */
max-height: 500px;