aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-22 15:44:45 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-22 15:44:45 +0100
commit2147807fa011119115c0d574ed1b46356d01da09 (patch)
treee14eae9bef770b42019a3a398e7dc59f7c6c468b /src/components/attachment/attachment.vue
parent38749e6c4ac27a20190cb8443e4692cae95252f0 (diff)
Add image height css back in.
Without it, Chrome stretches the image...
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index ea517c9e..0e2a228a 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -95,6 +95,7 @@
border: 1px solid;
border-radius: 0.5em;
width: 100%;
+ height: 100%; /* If this isn't here, chrome will stretch the images */
}
}
}