2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

Include a list of more new topics in the digest emails at the bottom

This commit is contained in:
Robin Ward 2013-08-09 14:43:02 -04:00
parent 730f57a751
commit 652169daf6
6 changed files with 22 additions and 7 deletions

View file

@ -53,6 +53,7 @@ module Email
style('ul', 'margin: 0 0 0 10px; padding: 0 0 0 20px;')
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;')
@fragment.css('pre').each do |pre|
pre.replace(pre.text)