Mjml: [Feature Request] Reverse-ordering of columns

Created on 2 Jun 2016  路  1Comment  路  Source: mjmlio/mjml

Using a technique similar to what has been implemented here: http://responsiveemailpatterns.com/patterns/layout/source-order-shift.html

I suspect it will be difficult because of the way the entire table must be constructed. Might it be possible though to create a group:

<mj-section>
    <mj-column-group shift-direction="standard">
        <mj-column><mj-text /></mj-column>
        <mj-column><mj-text /></mj-column>
    </mj-column-group">

    <mj-column-group shift-direction="reverse">
        <mj-column><mj-text /></mj-column>
        <mj-column><mj-text /></mj-column>
    </mj-column-group">

</mj-section>

This would allow the compiler to know which set of HTML etc to use when creating the container table?

Feature request

Most helpful comment

Hello !

We're now supporting in MJML 3 direction="rtl"on mj-section. It will reverse column order in a section when displayed in desktop mode.

>All comments

Hello !

We're now supporting in MJML 3 direction="rtl"on mj-section. It will reverse column order in a section when displayed in desktop mode.

Was this page helpful?
0 / 5 - 0 ratings