We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<mjml> <mj-head> <mj-font name="Source Code Pro" href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500;600;700&display=swap" /> <mj-attributes> <mj-text font-size="14px" align="left" color="black" font-family="Source Code Pro" /> <mj-section background-color="#fff" /> <mj-social-element icon-size="24px" /> </mj-attributes> </mj-head> <mj-body background-color="#eee"> <mj-section> <mj-column> <mj-text font-weight="bold"> <code> <pre style="background-color: black; padding:12px">123456789098765432345678987654323456789876544567898765434567898765456788765456789876556789876556787654</pre> </code> </mj-text> <mj-column> </mj-section> </mj-body> </mjml>
Cannot find a way to handle overflowing content in mj-text with code block styling overflow:scroll; won't do.
mj-text
overflow:scroll;
The text was updated successfully, but these errors were encountered:
Not really related to MJML here it's specific to HTML CSS https://www.caniemail.com/search/?s=word-break can be used to try minimize the impact but it's not perfect
Sorry, something went wrong.
It was caused by pre changing pre to p did the trick.
pre
p
word-break won't be applied to pre tag.
No branches or pull requests
Cannot find a way to handle overflowing content in
mj-text
with code block stylingoverflow:scroll;
won't do.The text was updated successfully, but these errors were encountered: