refactor: add top padding in smtp template

This commit is contained in:
moonrailgun 2024-02-14 02:48:45 +08:00
parent 80f7933c7b
commit 393e58080a

View File

@ -65,7 +65,7 @@ function generateSMTPHTML(message: string) {
</head> </head>
<body style="background-color: #fafafa;"> <body style="background-color: #fafafa;">
<div style="width: 640px; margin: auto;"> <div style="width: 640px; margin: auto;">
<header style="margin-bottom: 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;">