UX: allow tags to wrap under categories on mobile (#20187)

This commit is contained in:
Kris
2023-02-07 13:44:07 -05:00
committed by GitHub
parent 5d32db76dd
commit 67ef46894f
3 changed files with 48 additions and 26 deletions

View File

@@ -38,13 +38,13 @@
{{raw "list/post-count-or-badges" topic=topic postBadgesEnabled=showTopicPostBadges}}
</div>
<div class="topic-item-stats clearfix">
{{#unless hideCategory}}
{{~raw-plugin-outlet name="topic-list-before-category"}}
<div class='category'>
{{category-link topic.category}}
</div>
{{/unless}}
{{discourse-tags topic mode="list"}}
<span class="topic-item-stats__category-tags">
{{#unless hideCategory}}
{{~raw-plugin-outlet name="topic-list-before-category"}}
{{category-link topic.category~}}
{{~/unless}}
{{~discourse-tags topic mode="list"}}
</span>
<div class='num activity last'>
<span class="age activity" title="{{topic.bumpedAtTitle}}"><a
href="{{topic.lastPostUrl}}">{{format-date topic.bumpedAt format="tiny" noTitle="true"}}</a>