Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Fix invite member template (#22782)

KVOJJJin366d42d9c048
diff --git a/api/templates/clean_document_job_mail_template-US.html b/api/templates/clean_document_job_mail_template-US.html
index b26e494f808..97f3997c939 100644
--- a/api/templates/clean_document_job_mail_template-US.html
+++ b/api/templates/clean_document_job_mail_template-US.html
@@ -45,8 +45,7 @@
line-height: 120%; /* 28.8px */
}
.button {
- display: inline-block;
- width: 480px;
+ display: block;
padding: 8px 12px;
color: white;
text-decoration: none;
diff --git a/api/templates/invite_member_mail_template_en-US.html b/api/templates/invite_member_mail_template_en-US.html
index da292428693..a07c5f4b169 100644
--- a/api/templates/invite_member_mail_template_en-US.html
+++ b/api/templates/invite_member_mail_template_en-US.html
@@ -12,7 +12,7 @@
}
.container {
width: 504px;
- height: 444px;
+ min-height: 444px;
margin: 40px auto;
padding: 0 48px;
background-color: #fcfcfd;
@@ -31,8 +31,7 @@
height: auto;
}
.button {
- display: inline-block;
- width: 480px;
+ display: block;
padding: 8px 12px;
color: white;
text-decoration: none;
diff --git a/api/templates/invite_member_mail_template_zh-CN.html b/api/templates/invite_member_mail_template_zh-CN.html
index c7c321bf6f1..27709a3c6d0 100644
--- a/api/templates/invite_member_mail_template_zh-CN.html
+++ b/api/templates/invite_member_mail_template_zh-CN.html
@@ -28,11 +28,10 @@
.header img {
max-width: 63px;
- height: auto;
+ min-height: auto;
}
.button {
- display: inline-block;
- width: 480px;
+ display: block;
padding: 8px 12px;
color: white;
text-decoration: none;
diff --git a/api/templates/without-brand/invite_member_mail_template_en-US.html b/api/templates/without-brand/invite_member_mail_template_en-US.html
index f6b1966c521..fc7f3679ba9 100644
--- a/api/templates/without-brand/invite_member_mail_template_en-US.html
+++ b/api/templates/without-brand/invite_member_mail_template_en-US.html
@@ -12,7 +12,7 @@
}
.container {
width: 504px;
- height: 444px;
+ min-height: 444px;
margin: 40px auto;
padding: 0 48px;
background-color: #fcfcfd;
@@ -31,8 +31,7 @@
height: auto;
}
.button {
- display: inline-block;
- width: 480px;
+ display: block;
padding: 8px 12px;
color: white;
text-decoration: none;
diff --git a/api/templates/without-brand/invite_member_mail_template_zh-CN.html b/api/templates/without-brand/invite_member_mail_template_zh-CN.html
index fd2d6b873f1..e787c90914c 100644
--- a/api/templates/without-brand/invite_member_mail_template_zh-CN.html
+++ b/api/templates/without-brand/invite_member_mail_template_zh-CN.html
@@ -12,7 +12,7 @@
}
.container {
width: 504px;
- height: 444px;
+ min-height: 444px;
margin: 40px auto;
padding: 0 48px;
background-color: #fcfcfd;
@@ -31,8 +31,7 @@
height: auto;
}
.button {
- display: inline-block;
- width: 480px;
+ display: block;
padding: 8px 12px;
color: white;
text-decoration: none;