Skip to content

Commit adf7ed6

Browse files
authored
Merge pull request #510 from topcoder-platform/issues-505
Issues-505: Use Topcoder button styles for action button in emails
2 parents a05d0ba + 4dd57e6 commit adf7ed6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

vanilla/applications/dashboard/views/email/email-basic.tpl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,11 @@
156156
<p class="message" style='margin: 0;Margin-bottom: 10px;padding: 0;color: {$email.textColor};text-align: left;margin-top: 10px;
157157
margin-bottom: 15px'>{$email.message}</p>
158158
{if $email.button}
159-
<div style="margin: 0;padding: 0; text-align: center">
160-
<a class="button" href="{$email.button.url}" style="margin: 0;padding: 0;color: #137d60;
161-
cursor: pointer;display: inline-block;" rel=" noopener noreferrer" target="_blank">{$email.button.text}</a>
159+
<div style="margin: 5px 0px;padding: 0;text-align: center">
160+
<a class="button" href="{$email.button.url}" style="font-size: 12px;
161+
border: 1px solid #137D60;min-width: 36px;background: #137D60;color: #FAFAFB;line-height: 30px;min-height: 30px;text-decoration: none;
162+
white-space: nowrap;text-align: center;font-weight: 700 !important;letter-spacing: .69px !important; text-transform: uppercase;
163+
border-radius: 20px !important; padding: 10px 20px !important;" rel=" noopener noreferrer" target="_blank">{$email.button.text}</a>
162164
</div>
163165
{/if}
164166

0 commit comments

Comments
 (0)