mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add categories to the first topics in the email digest
This commit is contained in:
@@ -53,7 +53,7 @@ module Email
|
||||
def format_html
|
||||
style('h3', 'margin: 15px 0 20px 0; border-bottom: 1px solid #ddd;')
|
||||
style('hr', 'background-color: #ddd; height: 1px; border: 1px;')
|
||||
style('a',' text-decoration: none; font-weight: bold; color: #006699;')
|
||||
style('a', 'text-decoration: none; font-weight: bold; color: #006699;')
|
||||
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;')
|
||||
@@ -63,6 +63,7 @@ module Email
|
||||
style('pre', 'word-wrap: break-word; max-width: 694px;')
|
||||
style('code', 'background-color: #f1f1ff; padding: 2px 5px;')
|
||||
style('pre code', 'display: block; background-color: #f1f1ff; padding: 5px;')
|
||||
style('.featured-topic a', 'text-decoration: none; font-weight: bold; color: #006699; margin-right: 5px')
|
||||
|
||||
# Links to other topics
|
||||
style('aside.quote', 'border-left: 5px solid #bebebe; background-color: #f1f1f1; padding: 12px;')
|
||||
|
||||
Reference in New Issue
Block a user