diff --git a/app/assets/javascripts/discourse/templates/discovery/categories.hbs b/app/assets/javascripts/discourse/templates/discovery/categories.hbs index 60297813e..600681eab 100644 --- a/app/assets/javascripts/discourse/templates/discovery/categories.hbs +++ b/app/assets/javascripts/discourse/templates/discovery/categories.hbs @@ -13,7 +13,6 @@
{{category-title-link category=c}} - {{category-unread category=c}} {{#if c.logo_url}} {{category-logo-link category=c}} {{/if}} @@ -31,8 +30,11 @@
{{/if}} - - {{{c.stat}}} + +
+ {{{c.stat}}} +
+ {{category-unread category=c tagName="div" class="unread-new"}} {{/each}} diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss index abf868895..14f94c677 100644 --- a/app/assets/stylesheets/desktop/topic-list.scss +++ b/app/assets/stylesheets/desktop/topic-list.scss @@ -237,6 +237,14 @@ } .navigation-categories { + .unread-new { + a { + display: inline-block; + margin-top: 5px; + background-color: transparent; + color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%)); + } + } .topic-list { width: 48%; float: left;