move digest email featured post category underneath

This commit is contained in:
Jeff Atwood 2014-11-28 00:38:08 -08:00
parent 781807191e
commit a85a3da167
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@
<%- @featured_topics.each_with_index do |t, i| %>
<div class='featured-topic'>
<%= link_to t.title, "#{Discourse.base_url}#{t.relative_url}" %>
<br/>
<%= email_category(t.category) %>
</div>

View File

@ -136,7 +136,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')
style('.featured-topic a', 'text-decoration: none; font-weight: bold; color: #006699; line-height:2em;')
onebox_styles
plugin_styles