normalize footer div on all emails

This commit is contained in:
Jeff Atwood 2014-11-11 23:19:15 -08:00
parent adcf8b4b18
commit 36d094856c
2 changed files with 3 additions and 3 deletions

View File

@ -67,11 +67,11 @@
<%- end -%>
<hr/>
<span class='footer-notice'>
<div class='footer'>
<%=raw(t :'user_notifications.digest.unsubscribe',
site_link: html_site_link,
unsubscribe_link: link_to(t('user_notifications.digest.click_here'), email_unsubscribe_url(host: Discourse.base_url, key: @user.temporary_key))) %>
</span>
</div>
</td>
</tr>
</table>

View File

@ -129,7 +129,7 @@ module Email
style('li', 'padding-bottom: 10px')
style('div.digest-post', 'margin-left: 15px; margin-top: 20px; max-width: 694px;')
style('div.digest-post h1', 'font-size: 20px;')
style('span.footer-notice', 'color:#666; font-size:80%')
style('div.footer', 'color:#666; font-size:80%')
style('span.post-count', 'margin: 0 5px; color: #777;')
style('pre', 'word-wrap: break-word; max-width: 694px;')
style('code', 'background-color: #f1f1ff; padding: 2px 5px;')