Merge pull request #3966 from scossar/simple-email-button

FIX: email button padding for Outlook
This commit is contained in:
Jeff Atwood 2016-01-20 12:25:01 -08:00
commit f5c0972210
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ module Email
element.css('a').each do |inner| element.css('a').each do |inner|
# we want the first footer link to be specially highlighted as IMPORTANT # we want the first footer link to be specially highlighted as IMPORTANT
if footernum == 0 and linknum == 0 if footernum == 0 and linknum == 0
inner['style'] = "background-color:#006699;color:#fff;padding:4px 6px;" inner['style'] = "background-color: #006699; color:#ffffff; border-top: 4px solid #006699; border-right: 6px solid #006699; border-bottom: 4px solid #006699; border-left: 6px solid #006699; display: inline-block;"
else else
inner['style'] = "color:#666;" inner['style'] = "color:#666;"
end end