normalize footer div on all emails
This commit is contained in:
parent
adcf8b4b18
commit
36d094856c
|
@ -67,11 +67,11 @@
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
<span class='footer-notice'>
|
<div class='footer'>
|
||||||
<%=raw(t :'user_notifications.digest.unsubscribe',
|
<%=raw(t :'user_notifications.digest.unsubscribe',
|
||||||
site_link: html_site_link,
|
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))) %>
|
unsubscribe_link: link_to(t('user_notifications.digest.click_here'), email_unsubscribe_url(host: Discourse.base_url, key: @user.temporary_key))) %>
|
||||||
</span>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -129,7 +129,7 @@ module Email
|
||||||
style('li', 'padding-bottom: 10px')
|
style('li', 'padding-bottom: 10px')
|
||||||
style('div.digest-post', 'margin-left: 15px; margin-top: 20px; max-width: 694px;')
|
style('div.digest-post', 'margin-left: 15px; margin-top: 20px; max-width: 694px;')
|
||||||
style('div.digest-post h1', 'font-size: 20px;')
|
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('span.post-count', 'margin: 0 5px; color: #777;')
|
||||||
style('pre', 'word-wrap: break-word; max-width: 694px;')
|
style('pre', 'word-wrap: break-word; max-width: 694px;')
|
||||||
style('code', 'background-color: #f1f1ff; padding: 2px 5px;')
|
style('code', 'background-color: #f1f1ff; padding: 2px 5px;')
|
||||||
|
|
Loading…
Reference in New Issue