Add width to wrapper table

[MAILPOET-3638]
This commit is contained in:
Jan Lysý
2021-06-04 13:55:23 +02:00
committed by Veljko V
parent 9883d676ed
commit 3aa84cf9c1

View File

@@ -44,7 +44,7 @@ class Renderer {
throw new \Exception("You should call 'render' before 'getHTMLBeforeContent'"); throw new \Exception("You should call 'render' before 'getHTMLBeforeContent'");
} }
$html = str_replace(Preprocessor::WC_HEADING_PLACEHOLDER, $headingText, $this->htmlBeforeContent); $html = str_replace(Preprocessor::WC_HEADING_PLACEHOLDER, $headingText, $this->htmlBeforeContent);
return $html . '<div id="' . self::CONTENT_CONTAINER_ID . '"><div id="body_content"><div id="body_content_inner"><table><tr><td>'; return $html . '<div id="' . self::CONTENT_CONTAINER_ID . '"><div id="body_content"><div id="body_content_inner"><table style="width: 100%"><tr><td>';
} }
public function getHTMLAfterContent() { public function getHTMLAfterContent() {