Merge pull request #4460 from xfalcox/fix-tags-separation-categories-list

Fix tags separation on new category page
This commit is contained in:
Neil Lalonde 2016-09-26 15:23:15 -04:00 committed by GitHub
commit 28ad3cbde6
2 changed files with 9 additions and 3 deletions

View File

@ -17,9 +17,11 @@
<tr>
{{category-link topic.category}}
{{#if topic.tags}}
{{#each topic.visibleListTags as |tag|}}
{{discourse-tag tag}}
{{/each}}
<div class="discourse-tags">
{{#each topic.visibleListTags as |tag|}}
{{discourse-tag tag}}
{{/each}}
</div>
{{/if}}
</tr>
</td>

View File

@ -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;