Full-width body images not rendering on Outlook Desktop for Hybrid template
miamimabel opened this issue · comments
Can you try removing the line-height
from both the <img>
and the parent <td>
?
That did the trick, thank you!
—
MABEL PEREZ
Manager, State Web Development & e-Communications
BEST BUDDIES INTERNATIONAL
100 SE 2nd Street, Suite 2200
Miami, Florida, 33131
P 305.374.2233 x364 | F 305.377.1969
BESTBUDDIES.ORG<http://www.bestbuddies.org/>
From: Ted Goas [mailto:notifications@github.com]
Sent: Thursday, September 26, 2019 7:25 AM
To: TedGoas/Cerberus <Cerberus@noreply.github.com>
Cc: Mabel Perez <mabelperez@bestbuddies.org>; Author <author@noreply.github.com>
Subject: Re: [TedGoas/Cerberus] Full-width body images not rendering on Outlook Desktop for Hybrid template (#231)
Can you try removing the line-height from both the <img> and the parent <td>?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#231>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AKSRRSOTIOHJ6DLSL7UXJRLQLSLW7ANCNFSM4I2S4T7A>.
Yay! I'll leave this open as a reminder to fix this in the source files here. I ran into this bug in my own work and fixed it there, but should port that fix here. Thanks!
After testing this further, it seems this bug is caused by a line-height
in the image's parent <td>
. Eg:
<td style="font-size: 12px; line-height: 15px;
<img>
</td>
A line-height
on the image itself seems to be ok as long as their isn't one on the parent <td>
.