- Adds lines heights to LIs

This commit is contained in:
Vlad
2016-04-07 15:51:50 -04:00
parent 738b2f6c17
commit dd4b7e4d1c

View File

@@ -115,8 +115,9 @@ class Text {
$list->class = 'mailpoet_paragraph'; $list->class = 'mailpoet_paragraph';
} else { } else {
$list->class = 'mailpoet_paragraph'; $list->class = 'mailpoet_paragraph';
$list->style .= 'line-height:' . StylesHelper::$line_height . ';padding-top:0;padding-bottom:0;margin-top:10px;margin-bottom:10px;'; $list->style .= 'padding-top:0;padding-bottom:0;margin-top:10px;margin-bottom:10px;';
} }
$list->style .= 'line-height:' . StylesHelper::$line_height . ';';
} }
return $DOM->__toString(); return $DOM->__toString();
} }