feat(mailer): add padding before all headers
Some checks are pending
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Waiting to run
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Waiting to run

This commit is contained in:
limes 2025-11-10 15:22:49 +01:00
parent 3c6393de1e
commit 660adbd4bf
2 changed files with 1 additions and 4 deletions

View File

@ -144,9 +144,6 @@
<td width="36px" height="100%">&nbsp;</td>
<td>
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
<tr width="100%" height="36px" style="line-height: 36px;">
<td>&nbsp;</td>
</tr>
<!--innerHTML-->

View File

@ -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;
}