UX: make category topic counts clickable on mobile (#10541)
This commit is contained in:
parent
a4ec4c06e3
commit
a51db9a7bf
|
@ -39,21 +39,27 @@
|
|||
{{/if}}
|
||||
</tbody>
|
||||
</table>
|
||||
<footer class="clearfix">
|
||||
<footer class="clearfix category-topics-count">
|
||||
<figure title={{i18n "all_time_desc"}}>
|
||||
{{number category.topics_all_time}}
|
||||
<figcaption>{{i18n "all_time"}}</figcaption>
|
||||
<a href={{category.url}}>
|
||||
{{number category.topics_all_time}}
|
||||
<figcaption>{{i18n "all_time"}}</figcaption>
|
||||
</a>
|
||||
</figure>
|
||||
{{#if category.pickMonth}}
|
||||
<figure title={{i18n "month_desc"}}>
|
||||
{{number category.topics_month}}
|
||||
<figcaption>/ {{i18n "month"}}</figcaption>
|
||||
<a href={{category.url}}>
|
||||
{{number category.topics_month}}
|
||||
<figcaption>/ {{i18n "month"}}</figcaption>
|
||||
</a>
|
||||
</figure>
|
||||
{{/if}}
|
||||
{{#if category.pickWeek}}
|
||||
<figure title={{i18n "week_desc"}}>
|
||||
{{number category.topics_week}}
|
||||
<figcaption>/ {{i18n "week"}}</figcaption>
|
||||
<a href={{category.url}}>
|
||||
{{number category.topics_week}}
|
||||
<figcaption>/ {{i18n "week"}}</figcaption>
|
||||
</a>
|
||||
</figure>
|
||||
{{/if}}
|
||||
</footer>
|
||||
|
|
|
@ -409,6 +409,10 @@ tr.category-topic-link {
|
|||
}
|
||||
}
|
||||
|
||||
.category-topics-count a {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.topic-list-bottom {
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue