Merge pull request #302 from PretendoNetwork/dev
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled

Release - Hotfix
This commit is contained in:
limes 2025-11-18 23:53:49 +01:00 committed by GitHub
commit 1302a25ebc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,9 +165,9 @@ export class CreateEmail {
break;
case 'button':
if (c.link) {
el = `<a href="${c.link}" style="color:#fff;" width="100%">${el}</a>`;
el = `<a href="${c.link}" style="color:#fff;" width="100%">${c.text}</a>`;
} else {
el = `<span style="color:#fff;" width="100%">${el}</span>`;
el = `<span style="color:#fff;" width="100%">${c.text}</span>`;
}
innerHTML += `\n<tr><td ${c.primary ? 'class="primary button" bgcolor="#673db6"' : 'class="secondary button" bgcolor="#373C65"'} style="font-weight:700;border-radius:10px;padding:12px" align="center">${this.addGmailDarkModeFix(el)}</td></tr>`;
break;