diff options
author | Pierre de La Morinerie <pierre@capitainetrain.com> | 2014-05-13 14:49:03 +0200 |
---|---|---|
committer | Pierre de La Morinerie <pierre@capitainetrain.com> | 2014-05-26 10:14:58 +0200 |
commit | a220fc54555f7d9d6ece9a4455ecf6afcc07d1e9 (patch) | |
tree | 880a3b94bdcdd52ac4522ad5023ac0f294c2dacf /app | |
parent | 69577b57f8c78254d408803aefb9d0f4a13e421d (diff) | |
download | gitlab-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')
-rw-r--r-- | app/views/layouts/notify.html.haml | 4 |
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 |