diff --git a/api/templates/without-brand/api_rate_limit_limit_template_en-US.html b/api/templates/without-brand/api_rate_limit_limit_template_en-US.html index f59a218489..2d0910aa33 100644 --- a/api/templates/without-brand/api_rate_limit_limit_template_en-US.html +++ b/api/templates/without-brand/api_rate_limit_limit_template_en-US.html @@ -18,9 +18,10 @@ .card { width: 600px; min-height: 434px; - margin: 40px auto; + margin: 40px auto 0; display: flex; flex-direction: column; + align-items: flex-start; background: #fcfcfd; border: 1px solid #ffffff; box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06); @@ -28,15 +29,22 @@ } .card-header { - padding: 36px 48px 24px; - min-height: 101px; + display: flex; + padding: 36px 48px 24px 48px; + flex-direction: column; + align-items: flex-start; + gap: 8px; + align-self: stretch; } + .card-content { display: flex; + padding: 8px 48px 48px 48px; flex-direction: column; + align-items: flex-start; gap: 16px; - padding: 8px 48px 48px; + align-self: stretch; width: 100%; } @@ -52,7 +60,7 @@ display: flex; flex-direction: column; gap: 12px; - padding: 16px 0; + padding: 16px 0 0; } .body-text { @@ -93,15 +101,51 @@ letter-spacing: -0.005em; color: #354052; } + + .signature { + margin-top: 28px; + margin-bottom: 16px; + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 12px; + width: 100%; + } + + .signature-text { + margin: 0; + font-size: 14px; + line-height: 20px; + letter-spacing: -0.005em; + color: #354052; + } + + .email-footer { + margin: 20px auto 40px; + max-width: 600px; + color: #676f83; + text-align: center; + font-family: 'Inter', 'Arial', sans-serif; + font-size: 12px; + font-style: normal; + font-weight: 400; + line-height: 16px; + letter-spacing: -0.06px; + flex: 1 0 0; + }
+ Dear {{ recipientName | default(workspaceName ~ ' team', true) }}, +
Your workspace {{workspaceName}} has used all available Monthly API Rate Limit for the {{planName}} Plan (limit: {{planLimit}}). @@ -112,13 +156,18 @@
To continue using the Dify API and unlock a higher limit, please upgrade to a paid plan.
+ {{ctaLabel}} ++ Monthly API Rate Limit for the {{planName}} Plan will reset on {{resetDate}}. +
+Best regards,
+The Dify Team
- Monthly API Rate Limit for the {{planName}} Plan will reset on {{resetDate}}. -