-
Notifications
You must be signed in to change notification settings - Fork 979
Open
Description
Describe the bug
- For
mj-social-elementthere is an attribute ofalignspecified in the documentation however this is not set anywhere in the code when added and it doesn’t really make sense what it would do - When using the attribute
icon-heighton themj-socialtag, theheightattribute is set both on the icon container (the background color part) and the icon itself (icon image). For most email clients, the CSS prevents the height of the icon image from taking the set value and instead this is applied to the icon container only, however in Outlook and some instances of Yahoo the image becomes stretched outside of its aspect ratio.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Adding the text-align attribute should align the text when possible, for example when mode="vertical" is applied
Adding icon-height should only affect the container (background) and not the image itself
MJML environment (please complete the following information):
Email sending environment(for rendering issues):
Email on Acid / Testi
Affected email clients (for rendering issues):
All version of Outlook (Windows)
Metadata
Metadata
Assignees
Labels
No labels