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> <tr>
{{category-link topic.category}} {{category-link topic.category}}
{{#if topic.tags}} {{#if topic.tags}}
{{#each topic.visibleListTags as |tag|}} <div class="discourse-tags">
{{discourse-tag tag}} {{#each topic.visibleListTags as |tag|}}
{{/each}} {{discourse-tag tag}}
{{/each}}
</div>
{{/if}} {{/if}}
</tr> </tr>
</td> </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 { .mobile-view .topic-list-item .discourse-tags {
display: inline-block; display: inline-block;
font-size: 0.9em; font-size: 0.9em;