Closed rootwork closed 2 years ago
Update: There are some other elements too, like <mj-section>
in the salutation and the <mj-column>
in the social links. Unless these are configurable in designConfig.yaml
, they should be reset in index.hbs
as well.
Issue closed and locked due to lack of activity. If you encounter this same issue, please open a new issue and refer to this closed one.
Type of feature
Describe the feature
MJML sets defaults on
<mj-wrapper>
topadding="20px 0"
andtext-align="center"
.This might be MJML's default, but it can be surprising to someone new who is wondering where all this extra padding and centered text is coming from. And while MJML also sets similar defaults on things like
<mj-section>
, those things exist (and are easily configurable) in Premail's content and structure partials. The wrappers, however, exist inindex.hbs
itself, which we point to for theming only as a last resort. So let's set more logical HTML defaults (no padding, left-aligned text) for wrapper elements that appear here.