Skip to content

Commit

Permalink
fix(Mail): improve mail template CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sampath24-ss authored Oct 25, 2024
1 parent 30c0f33 commit 9815e50
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main/resources/mail-template.hbs.peb
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@
<!-- START CENTERED WHITE CONTAINER -->
<span class="preheader"
style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">This is preheader text. Some clients will show this text as a preview.</span>
<img src="https://raw.githubusercontent.com/kestra-io/kestra/develop/ui/src/assets/logo-small.png"
alt="Kestra logo" width="270" height="80" border="0"
style="outline:none; text-decoration:none; display:block;">
<img src="https://raw.githubusercontent.com/kestra-io/kestra/develop/ui/src/assets/logo-small.png" alt="Kestra logo" style="outline:none; text-decoration:none; display:block; max-width:100%; height:auto;">

<table class="main"
style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background: #ffffff; border-radius: 3px;">

Expand All @@ -135,8 +134,8 @@
{{ customMessage }}
</p>
{% endif %}
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">
{% if firstFailed == false %}Succeeded{% else %}Failed on task `{{firstFailed.taskId}}`{% endif %} after {{duration}}
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; margin-bottom: 15px;">
{% if firstFailed == false %}Succeeded{% else %}Failed on task <code>{{firstFailed.taskId}}</code> {% endif %} after {{duration}}
</p>
{% if link is defined %}
<table border="0" cellpadding="0" cellspacing="0" class="btn btn-primary"
Expand Down

0 comments on commit 9815e50

Please sign in to comment.