diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-07-19 11:19:19 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-07-23 23:15:21 +0200 |
commit | a98f57ebd0f6ebd2b715d95e85c33482ba629d7d (patch) | |
tree | b67b0928a9d40cd1a422f9da4ee3a936173ec953 /lib/private/Mail | |
parent | 8e6b707d2f87e91f0ef3408aca16acebcba9f7a8 (diff) | |
download | nextcloud-server-a98f57ebd0f6ebd2b715d95e85c33482ba629d7d.tar.gz nextcloud-server-a98f57ebd0f6ebd2b715d95e85c33482ba629d7d.zip |
Set max-width of image to 100px in Outlook as well
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Mail')
-rw-r--r-- | lib/private/Mail/EMailTemplate.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index 0ae79345e4c..f924f233f14 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -100,7 +100,10 @@ EOF; <tbody> <tr style="padding:0;text-align:left;vertical-align:top"> <center data-parsed="" style="min-width:580px;width:100%%"> + <!-- convince Outlook to have a max-width of 100px --> + <!--[if mso]><table><tr><td width="100"><![endif]--> <img class="logo float-center" src="%s" alt="%s" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;max-height:100%%;max-width:100px;outline:0;text-align:center;text-decoration:none;width:auto"> + <!--[if mso]></td></tr></table><![endif]--> </center> </tr> </tbody> |