summaryrefslogtreecommitdiff
path: root/app/views/layouts/notify.html.haml
diff options
context:
space:
mode:
authorPierre de La Morinerie <pierre@capitainetrain.com>2014-05-13 14:49:03 +0200
committerPierre de La Morinerie <pierre@capitainetrain.com>2014-05-26 10:14:58 +0200
commita220fc54555f7d9d6ece9a4455ecf6afcc07d1e9 (patch)
tree880a3b94bdcdd52ac4522ad5023ac0f294c2dacf /app/views/layouts/notify.html.haml
parent69577b57f8c78254d408803aefb9d0f4a13e421d (diff)
downloadgitlab-ce-a220fc54555f7d9d6ece9a4455ecf6afcc07d1e9.tar.gz
Limit the width of images in emails
This fixes an issue in Mail.app, where large images would expand outside of the viewport.
Diffstat (limited to 'app/views/layouts/notify.html.haml')
-rw-r--r--app/views/layouts/notify.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index 991d4f0c6d8..ab421d63f1a 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -4,6 +4,10 @@
%title
GitLab
:css
+ img {
+ max-width: 100%;
+ height: auto;
+ }
p.details {
font-style:italic;
color:#777