Fix tags separation on new category page

This commit is contained in:
Rafael dos Santos Silva 2016-09-26 16:14:41 -03:00
parent 999f52954f
commit 048dea01f4
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;