mjmlio / mjml

MJML: the only framework that makes responsive-email easy
https://mjml.io
MIT License
16.87k stars 948 forks source link

mj-column width is ignor on some of web client #2672

Closed j87x3inq2x3w7 closed 1 year ago

j87x3inq2x3w7 commented 1 year ago

Hi, I used this basic mjml code:

<mj-section padding="0 0" border="1px solid red">
      <mj-column background-color="#00cb19" width="80px" border-radius="4px 4px 0px 0px" border="1px solid black">
        <mj-text padding="0 0" color="white" font-size="12px" font-weight="600" line-height="20px" align="center" background-color="white">Reward</mj-text>
      </mj-column>
</mj-section>

and testing on email on acid, and see this, mj-column width is ignor on some of web client : image

mj-column, don't hold set 80px width on desktop view, any reason ?

iRyusa commented 1 year ago

Some desktop clients doesn't support media queries so they will display the mobile version instead. There's no workaround for this.