mjmlio / mjml

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

White Space between three columns #1990

Closed artifex-pro closed 4 years ago

artifex-pro commented 4 years ago

Describe the bug

When using three columns next to each other MJML produces a white line between one of the columns as seen in the attached screenshot below.

To Reproduce

Steps to reproduce the behavior:

  1. Use this MJML code:

`

`

  1. Try it out in the live editor

Expected behavior

No white spaces between columns

MJML environment (please complete the following information):

Screenshots

Schermafbeelding 2020-07-29 om 15 02 25 1
iRyusa commented 4 years ago

It's a rounding (missing pixel) issue where MJML can't guess properly column's width with auto column-sizing (as size is declared in pixel both column have a 33,333333333...% width).

2 solutions :