Set max-width of image to 100px in Outlook as well
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
8e6b707d2f
commit
a98f57ebd0
|
@ -100,7 +100,10 @@ EOF;
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr style="padding:0;text-align:left;vertical-align:top">
|
<tr style="padding:0;text-align:left;vertical-align:top">
|
||||||
<center data-parsed="" style="min-width:580px;width:100%%">
|
<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">
|
<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>
|
</center>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -182,7 +182,10 @@ class NewUserMailHelperTest extends TestCase {
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr style="padding:0;text-align:left;vertical-align:top">
|
<tr style="padding:0;text-align:left;vertical-align:top">
|
||||||
<center data-parsed="" style="min-width:580px;width:100%">
|
<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="" alt="TestCloud" 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">
|
<img class="logo float-center" src="" alt="TestCloud" 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>
|
</center>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -415,7 +418,10 @@ EOF;
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr style="padding:0;text-align:left;vertical-align:top">
|
<tr style="padding:0;text-align:left;vertical-align:top">
|
||||||
<center data-parsed="" style="min-width:580px;width:100%">
|
<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="" alt="TestCloud" 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">
|
<img class="logo float-center" src="" alt="TestCloud" 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>
|
</center>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -23,7 +23,10 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr style="padding:0;text-align:left;vertical-align:top">
|
<tr style="padding:0;text-align:left;vertical-align:top">
|
||||||
<center data-parsed="" style="min-width:580px;width:100%">
|
<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="https://example.org/img/logo-mail-header.png" alt="TestCloud" 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">
|
<img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" 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>
|
</center>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -23,7 +23,10 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr style="padding:0;text-align:left;vertical-align:top">
|
<tr style="padding:0;text-align:left;vertical-align:top">
|
||||||
<center data-parsed="" style="min-width:580px;width:100%">
|
<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="https://example.org/img/logo-mail-header.png" alt="TestCloud" 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">
|
<img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" 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>
|
</center>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -23,7 +23,10 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr style="padding:0;text-align:left;vertical-align:top">
|
<tr style="padding:0;text-align:left;vertical-align:top">
|
||||||
<center data-parsed="" style="min-width:580px;width:100%">
|
<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="https://example.org/img/logo-mail-header.png" alt="TestCloud" 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">
|
<img class="logo float-center" src="https://example.org/img/logo-mail-header.png" alt="TestCloud" 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>
|
</center>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue