Skip to content

Conversation

hayden-t
Copy link

No description provided.

@iRyusa
Copy link
Member

iRyusa commented Apr 15, 2025 via email

@hayden-t
Copy link
Author

text has a default line height of 1, not sure if that would behave similarly. but if so it might need a note too, or as you suggest have it somewhere else more 'general tips'

@DazGreerMJ
Copy link

Hi @hayden-t, sorry if I've missed the point here but what is the issue with adding images in tables, with respect to the line-height?

We are looking to add a troubleshooting section to the website at some point and I want to understand what this tip is aiming to fix. Thanks

@hayden-t
Copy link
Author

Been a while, but this pull request suggests adding : "If you put image/s inside, you will need to set line-height at the td or table level to override the default, so it will display at desired height."

@DazGreerMJ
Copy link

Thanks @hayden-t, I understand what you're asking in the PR, I was asking what the specific issue is with adding images to tables with respect to line-height?

I want to determine whether it's right to add this to the documentation (issue with MJML) or whether it would be better served in a troubleshooting section (general HTML issue).

If you're able to supply code in our editor (https://mjml.io/try-it-live) to demonstrate, that would be very helpful. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants