mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Missing styles in HTML digest emails
This commit is contained in:
@@ -59,6 +59,10 @@ module Email
|
||||
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('pre', 'white-space: pre-wrap')
|
||||
style('code', 'background-color: f1f1ff; padding: 2px 5px;')
|
||||
style('pre code', 'display: block; background-color: f1f1ff; padding: 5px')
|
||||
end
|
||||
|
||||
def to_html
|
||||
|
||||
Reference in New Issue
Block a user