Fix preview
[MAILPOET-2600]
This commit is contained in:
committed by
Jack Kitterhing
parent
61251f6e34
commit
f5fc03ee1d
@@ -115,7 +115,9 @@ class BlockRendererHelper {
|
||||
|
||||
public function renderFontStyle(array $formSettings) {
|
||||
if (isset($formSettings['fontSize'])) {
|
||||
return 'style="font-size: ' . trim($formSettings['fontSize']) . 'px"';
|
||||
return 'style="'
|
||||
. 'font-size: ' . trim($formSettings['fontSize']) . 'px;'
|
||||
. 'line-height: ' . trim($formSettings['fontSize']) * 1.2 . 'px";';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user