Remove line-height CSS styles

Because the line height setting makes the rendered email not look good sometimes.
For now we decided to remove it.
[MAILPOET-5809]
This commit is contained in:
Jan Lysý
2024-01-26 10:26:38 +01:00
committed by Rostislav Wolný
parent b71e68d8da
commit 7fac0e019f
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ class Column implements BlockRenderer {
<tbody>
<tr>
<td align="left" style="font-size:0px;padding-left:' . $paddingLeft . ';padding-right:' . $paddingRight . ';padding-bottom:' . $paddingBottom . ';padding-top:' . $paddingTop . ';">
<div style="line-height:1;text-align:left;">{column_content}</div>
<div style="text-align:left;">{column_content}</div>
</td>
</tr>
</tbody>

View File

@@ -41,7 +41,7 @@ class Columns implements BlockRenderer {
}
return '
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="width:' . $width . ';" width="' . $width . '"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="width:' . $width . ';" width="' . $width . '"><tr><td style="font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="margin-top:' . $marginTop . ';max-width:' . $width . ';padding-left:' . $layoutPaddingLeft . ';padding-right:' . $layoutPaddingRight . ';">
<table
align="center"