mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Small improvements to digest emails and preview mechanism.
This commit is contained in:
@@ -36,6 +36,10 @@ module Email
|
||||
pre.replace(pre.text)
|
||||
end
|
||||
|
||||
fragment.css('div.digest-post').each do |div|
|
||||
div['style'] = 'margin-left: 15px; margin-top: 20px; max-width: 694px;'
|
||||
end
|
||||
|
||||
fragment.to_html
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user