mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-09-30 22:28:00 -05:00
feat(mailer): add padding before all headers
This commit is contained in:
@@ -144,9 +144,6 @@
|
||||
<td width="36px" height="100%"> </td>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr width="100%" height="36px" style="line-height: 36px;">
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<!--innerHTML-->
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ export class CreateEmail {
|
||||
*/
|
||||
public addHeader(text: string, replacements?: emailTextReplacements): this {
|
||||
const component: emailComponent = { type: 'header', text, replacements };
|
||||
this.componentArray.push(component, this.addPadding(24));
|
||||
this.componentArray.push(this.addPadding(36), component, this.addPadding(24));
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user