refactor: add border radius in smtp template

This commit is contained in:
moonrailgun 2024-10-16 01:02:11 +08:00
parent 61980b37d3
commit f553f157dd

View File

@ -16,7 +16,7 @@ export function generateSMTPHTML(body: string) {
<header style="margin-bottom: 10px; padding-top: 10px; text-align: center;"> <header style="margin-bottom: 10px; padding-top: 10px; text-align: center;">
<img src="https://tianji.msgbyte.com/img/logo@128.png" width="50" height="50" /> <img src="https://tianji.msgbyte.com/img/logo@128.png" width="50" height="50" />
</header> </header>
<div style="background-color: #fff; border: 1px solid #dddddd; padding: 36px; margin-bottom: 10px;"> <div style="background-color: #fff; border: 1px solid #dddddd; padding: 36px; margin-bottom: 10px; border-radius: 5px;">
${body} ${body}
</div> </div>
<footer style="text-align: center;"> <footer style="text-align: center;">