diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs index dc7db78da..2fed316b2 100644 --- a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs @@ -22,7 +22,6 @@ {{topic-status topic=t}} {{topic-link t}} - {{topic-post-badges unread=t.unread newPosts=t.new_posts unseen=t.unseen url=t.lastUnreadUrl}} {{#if t.hasExcerpt}}
{{{t.excerpt}}} @@ -36,7 +35,7 @@ {{/if}}
- {{number t.posts_count}} + {{raw "list/post-count-or-badges" topic=t postBadgesEnabled="true"}} {{{format-age t.last_posted_at}}} diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index a055b1a29..69131938d 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -77,7 +77,7 @@ a.title {color: $primary;} - .badge-notification { + .badge-notification, .category-topic-link td.num .badge-notification { position: relative; top: -1px; font-size: 1.071em; @@ -93,6 +93,12 @@ } } + .category-topic-link td.num .badge-notification { + &.new-posts, &.unread-posts { + color: dark-light-choose($secondary, $secondary); + } + } + .topic-item-stats { margin-top: 8px; .category, .num, .last-poster { @@ -225,6 +231,13 @@ tr.category-topic-link { font-size: 110%; } + .category-topic-link .num { + white-space: nowrap; + .number { + font-size: 1.071em; + } + } + .posters { float: left;