From a220fc54555f7d9d6ece9a4455ecf6afcc07d1e9 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 13 May 2014 14:49:03 +0200 Subject: Limit the width of images in emails This fixes an issue in Mail.app, where large images would expand outside of the viewport. --- app/views/layouts/notify.html.haml | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1