diff --git a/app/assets/javascripts/discourse/templates/components/latest-topic-list-item.hbs b/app/assets/javascripts/discourse/templates/components/latest-topic-list-item.hbs index a4d228365c2..52247164511 100644 --- a/app/assets/javascripts/discourse/templates/components/latest-topic-list-item.hbs +++ b/app/assets/javascripts/discourse/templates/components/latest-topic-list-item.hbs @@ -17,9 +17,11 @@ {{category-link topic.category}} {{#if topic.tags}} - {{#each topic.visibleListTags as |tag|}} - {{discourse-tag tag}} - {{/each}} +
+ {{#each topic.visibleListTags as |tag|}} + {{discourse-tag tag}} + {{/each}} +
{{/if}} diff --git a/app/assets/stylesheets/common/base/tagging.scss b/app/assets/stylesheets/common/base/tagging.scss index 1cca25a7abf..332614c4ac1 100644 --- a/app/assets/stylesheets/common/base/tagging.scss +++ b/app/assets/stylesheets/common/base/tagging.scss @@ -110,6 +110,10 @@ $tag-color: scale-color($primary, $lightness: 40%); } } +.categories-list .topic-list-latest .discourse-tags { + display: inline-block; +} + .mobile-view .topic-list-item .discourse-tags { display: inline-block; font-size: 0.9em;