diff --git a/api/templates/change_mail_confirm_new_template_en-US.html b/api/templates/change_mail_confirm_new_template_en-US.html
index 7e2ccca493..45f971741b 100644
--- a/api/templates/change_mail_confirm_new_template_en-US.html
+++ b/api/templates/change_mail_confirm_new_template_en-US.html
@@ -13,56 +13,91 @@
}
.container {
- width: 600px;
- height: 360px;
+ width: 504px;
+ height: 454px;
margin: 40px auto;
- padding: 36px 48px;
+ padding: 0 48px;
background-color: #fcfcfd;
border-radius: 16px;
border: 1px solid #ffffff;
- box-shadow: 0 2px 4px -2px rgba(9, 9, 11, 0.08);
+ box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
}
.header {
- margin-bottom: 24px;
+ padding-top: 36px;
+ padding-bottom: 24px;
}
.header img {
- max-width: 100px;
+ max-width: 63px;
height: auto;
}
.title {
- font-weight: 600;
+ margin: 0;
+ padding-top: 8px;
+ padding-bottom: 16px;
+ color: #101828;
font-size: 24px;
- line-height: 28.8px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 600;
+ line-height: 120%; /* 28.8px */
}
.description {
- font-size: 13px;
- line-height: 16px;
- color: #676f83;
- margin-top: 12px;
+ color: #354052;
+ font-size: 14px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px; /* 142.857% */
+ letter-spacing: -0.07px;
+ }
+
+ .content1 {
+ margin: 0;
+ padding-top: 16px;
+ padding-bottom: 12px;
+ }
+
+ .content2 {
+ margin: 0;
+ }
+
+ .content3 {
+ margin: 0;
+ padding-bottom: 12px;
}
.code-content {
+ margin-bottom: 8px;
padding: 16px 32px;
text-align: center;
border-radius: 16px;
background-color: #f2f4f7;
- margin: 16px auto;
}
- .code {
- line-height: 36px;
- font-weight: 700;
+ .code {
+ color: #101828;
+ font-family: Inter;
font-size: 30px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: 36px;
}
.tips {
- line-height: 16px;
- color: #676f83;
- font-size: 13px;
+ margin: 0;
+ padding-top: 12px;
+ padding-bottom: 16px;
+ color: #354052;
+ font-size: 14px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px; /* 142.857% */
+ letter-spacing: -0.07px;
}
@@ -74,10 +109,11 @@
Confirm Your New Email Address
- You’re updating the email address linked to your Dify account.
-
- To confirm this action, please use the verification code below.
- This code will only be valid for the next 5 minutes:
+
+
You’re updating the email address linked to your Dify account.
+
To confirm this action, please use the verification code below.
+
This code will only be valid for the next 5 minutes:
+
{{code}}
diff --git a/api/templates/change_mail_confirm_new_template_zh-CN.html b/api/templates/change_mail_confirm_new_template_zh-CN.html
index ccaaf60255..4373ca93bf 100644
--- a/api/templates/change_mail_confirm_new_template_zh-CN.html
+++ b/api/templates/change_mail_confirm_new_template_zh-CN.html
@@ -13,56 +13,91 @@
}
.container {
- width: 600px;
- height: 360px;
+ width: 504px;
+ height: 454px;
margin: 40px auto;
- padding: 36px 48px;
+ padding: 0 48px;
background-color: #fcfcfd;
border-radius: 16px;
border: 1px solid #ffffff;
- box-shadow: 0 2px 4px -2px rgba(9, 9, 11, 0.08);
+ box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
}
.header {
- margin-bottom: 24px;
+ padding-top: 36px;
+ padding-bottom: 24px;
}
.header img {
- max-width: 100px;
+ max-width: 63px;
height: auto;
}
.title {
- font-weight: 600;
+ margin: 0;
+ padding-top: 8px;
+ padding-bottom: 16px;
+ color: #101828;
font-size: 24px;
- line-height: 28.8px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 600;
+ line-height: 120%; /* 28.8px */
}
.description {
- font-size: 13px;
- line-height: 16px;
- color: #676f83;
- margin-top: 12px;
+ color: #354052;
+ font-size: 14px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px; /* 142.857% */
+ letter-spacing: -0.07px;
+ }
+
+ .content1 {
+ margin: 0;
+ padding-top: 16px;
+ padding-bottom: 12px;
+ }
+
+ .content2 {
+ margin: 0;
+ }
+
+ .content3 {
+ margin: 0;
+ padding-bottom: 12px;
}
.code-content {
+ margin-bottom: 8px;
padding: 16px 32px;
text-align: center;
border-radius: 16px;
background-color: #f2f4f7;
- margin: 16px auto;
}
- .code {
- line-height: 36px;
- font-weight: 700;
+ .code {
+ color: #101828;
+ font-family: Inter;
font-size: 30px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: 36px;
}
.tips {
- line-height: 16px;
- color: #676f83;
- font-size: 13px;
+ margin: 0;
+ padding-top: 12px;
+ padding-bottom: 16px;
+ color: #354052;
+ font-size: 14px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px; /* 142.857% */
+ letter-spacing: -0.07px;
}
@@ -74,10 +109,11 @@
确认您的邮箱地址变更
- 您正在更新与您的 Dify 账户关联的邮箱地址。
-
- 为了确认此操作,请使用以下验证码。
- 此验证码仅在接下来的5分钟内有效:
+
+
您正在更新与您的 Dify 账户关联的邮箱地址。
+
为了确认此操作,请使用以下验证码。
+
此验证码仅在接下来的5分钟内有效:
+
{{code}}
diff --git a/api/templates/change_mail_confirm_old_template_en-US.html b/api/templates/change_mail_confirm_old_template_en-US.html
index e5a1cac373..5e6ff245d8 100644
--- a/api/templates/change_mail_confirm_old_template_en-US.html
+++ b/api/templates/change_mail_confirm_old_template_en-US.html
@@ -13,56 +13,91 @@
}
.container {
- width: 600px;
- height: 360px;
+ width: 504px;
+ height: 454px;
margin: 40px auto;
- padding: 36px 48px;
+ padding: 0 48px;
background-color: #fcfcfd;
border-radius: 16px;
border: 1px solid #ffffff;
- box-shadow: 0 2px 4px -2px rgba(9, 9, 11, 0.08);
+ box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
}
.header {
- margin-bottom: 24px;
+ padding-top: 36px;
+ padding-bottom: 24px;
}
.header img {
- max-width: 100px;
+ max-width: 63px;
height: auto;
}
.title {
- font-weight: 600;
+ margin: 0;
+ padding-top: 8px;
+ padding-bottom: 16px;
+ color: #101828;
font-size: 24px;
- line-height: 28.8px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 600;
+ line-height: 120%; /* 28.8px */
}
.description {
- font-size: 13px;
- line-height: 16px;
- color: #676f83;
- margin-top: 12px;
+ color: #354052;
+ font-size: 14px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px; /* 142.857% */
+ letter-spacing: -0.07px;
+ }
+
+ .content1 {
+ margin: 0;
+ padding-top: 16px;
+ padding-bottom: 12px;
+ }
+
+ .content2 {
+ margin: 0;
+ }
+
+ .content3 {
+ margin: 0;
+ padding-bottom: 12px;
}
.code-content {
+ margin-bottom: 8px;
padding: 16px 32px;
text-align: center;
border-radius: 16px;
background-color: #f2f4f7;
- margin: 16px auto;
}
- .code {
- line-height: 36px;
- font-weight: 700;
+ .code {
+ color: #101828;
+ font-family: Inter;
font-size: 30px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: 36px;
}
.tips {
- line-height: 16px;
- color: #676f83;
- font-size: 13px;
+ margin: 0;
+ padding-top: 12px;
+ padding-bottom: 16px;
+ color: #354052;
+ font-size: 14px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px; /* 142.857% */
+ letter-spacing: -0.07px;
}
@@ -74,10 +109,11 @@
Verify Your Request to Change Email
- We received a request to change the email address associated with your Dify account.
-
- To confirm this action, please use the verification code below.
- This code will only be valid for the next 5 minutes:
+
+
We received a request to change the email address associated with your Dify account.
+
To confirm this action, please use the verification code below.
+
This code will only be valid for the next 5 minutes:
+
{{code}}
diff --git a/api/templates/change_mail_confirm_old_template_zh-CN.html b/api/templates/change_mail_confirm_old_template_zh-CN.html
index ce1deccc9e..2734593216 100644
--- a/api/templates/change_mail_confirm_old_template_zh-CN.html
+++ b/api/templates/change_mail_confirm_old_template_zh-CN.html
@@ -13,56 +13,91 @@
}
.container {
- width: 600px;
- height: 360px;
+ width: 504px;
+ height: 454px;
margin: 40px auto;
- padding: 36px 48px;
+ padding: 0 48px;
background-color: #fcfcfd;
border-radius: 16px;
border: 1px solid #ffffff;
- box-shadow: 0 2px 4px -2px rgba(9, 9, 11, 0.08);
+ box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
}
.header {
- margin-bottom: 24px;
+ padding-top: 36px;
+ padding-bottom: 24px;
}
.header img {
- max-width: 100px;
+ max-width: 63px;
height: auto;
}
.title {
- font-weight: 600;
+ margin: 0;
+ padding-top: 8px;
+ padding-bottom: 16px;
+ color: #101828;
font-size: 24px;
- line-height: 28.8px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 600;
+ line-height: 120%; /* 28.8px */
}
.description {
- font-size: 13px;
- line-height: 16px;
- color: #676f83;
- margin-top: 12px;
+ color: #354052;
+ font-size: 14px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px; /* 142.857% */
+ letter-spacing: -0.07px;
+ }
+
+ .content1 {
+ margin: 0;
+ padding-top: 16px;
+ padding-bottom: 12px;
+ }
+
+ .content2 {
+ margin: 0;
+ }
+
+ .content3 {
+ margin: 0;
+ padding-bottom: 12px;
}
.code-content {
+ margin-bottom: 8px;
padding: 16px 32px;
text-align: center;
border-radius: 16px;
background-color: #f2f4f7;
- margin: 16px auto;
}
- .code {
- line-height: 36px;
- font-weight: 700;
+ .code {
+ color: #101828;
+ font-family: Inter;
font-size: 30px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: 36px;
}
.tips {
- line-height: 16px;
- color: #676f83;
- font-size: 13px;
+ margin: 0;
+ padding-top: 12px;
+ padding-bottom: 16px;
+ color: #354052;
+ font-size: 14px;
+ font-family: Inter;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 20px; /* 142.857% */
+ letter-spacing: -0.07px;
}
@@ -74,10 +109,11 @@
验证您的邮箱变更请求
- 我们收到了一个变更您 Dify 账户关联邮箱地址的请求。
-
- 我们收到了一个变更您 Dify 账户关联邮箱地址的请求。
- 此验证码仅在接下来的5分钟内有效:
+
+
我们收到了一个变更您 Dify 账户关联邮箱地址的请求。
+
我们收到了一个变更您 Dify 账户关联邮箱地址的请求。
+
此验证码仅在接下来的5分钟内有效:
+
{{code}}