From b3465f76a20ee0608505652b43d4f504f7c38822 Mon Sep 17 00:00:00 2001 From: Danny Brewster Date: Sun, 2 Apr 2017 18:06:37 +0100 Subject: [PATCH] body-sub table, new row for each action Fixes styling issues when more than one button is included in the body of the email by moving each button alternative link to a new row. --- default.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/default.go b/default.go index 9208cab..19d5f83 100644 --- a/default.go +++ b/default.go @@ -343,14 +343,14 @@ func (dt *Default) HTMLTemplate() string { {{ with .Email.Body.Actions }} - {{ range $action := . }} - + + + {{ end }} -
-

If you’re having trouble with the button '{{ $action.Button.Text }}', copy and paste the URL below into your web browser.

-

{{ $action.Button.Link }}

-
+

If you’re having trouble with the button '{{ $action.Button.Text }}', copy and paste the URL below into your web browser.

+

{{ $action.Button.Link }}

+
{{ end }}