mjml icon indicating copy to clipboard operation
mjml copied to clipboard

Padding attribute is not working

Open julienchazal opened this issue 8 years ago • 1 comments

Hello paddingattribute is not working apparently when using it like this :

<mj-section>
          <mj-column>
            <mj-image src="http://placehold.it/350x250/78c5d6/fff" padding="0px"></mj-image>
            <mj-text padding="0">Content 11111</mj-text>
          </mj-column>

          <mj-column>
            <mj-image src="http://placehold.it/350x250/78c5d6/fff" padding="0px"></mj-image>
            <mj-text>Content 2</mj-text>
          </mj-column>
        </mj-section> 

Any ideas ? thx

julienchazal avatar Sep 22 '17 10:09 julienchazal

For the import, you have to use extended attributes (eg. padding-top, padding-left, etc.)

artf avatar Sep 25 '17 13:09 artf