From 0c4e28cd0b1539aa0237df29f5e7a580e378b46e Mon Sep 17 00:00:00 2001 From: scossar Date: Mon, 18 Jan 2016 14:06:35 -0800 Subject: [PATCH] pad link with border --- lib/email/styles.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/email/styles.rb b/lib/email/styles.rb index 9d51219b57d..18f99fa483e 100644 --- a/lib/email/styles.rb +++ b/lib/email/styles.rb @@ -214,7 +214,7 @@ module Email element.css('a').each do |inner| # we want the first footer link to be specially highlighted as IMPORTANT if footernum == 0 and linknum == 0 - inner['style'] = "background-color:#006699;color:#fff;padding:4px 6px;" + inner['style'] = "font-size: 16px; font-family: Helvetica, Arial, sans-serif; background-color: #006699; color:#ffffff; border-top: 12px solid #006699; border-bottom: 12px solid #006699; border-right: 18px solid #006699; border-left: 18px solid #006699; display: inline-block;" else inner['style'] = "color:#666;" end