UX: make category topic counts clickable on mobile (#10541)

UX: make category topic counts clickable on mobile (#10541)

diff --git a/app/assets/javascripts/discourse/app/templates/mobile/components/parent-category-row.hbs b/app/assets/javascripts/discourse/app/templates/mobile/components/parent-category-row.hbs
index 9c3c3ae..7e1e3e6 100644
--- a/app/assets/javascripts/discourse/app/templates/mobile/components/parent-category-row.hbs
+++ b/app/assets/javascripts/discourse/app/templates/mobile/components/parent-category-row.hbs
@@ -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>
diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss
index 7754b13..9e71af8 100644
--- a/app/assets/stylesheets/mobile/topic-list.scss
+++ b/app/assets/stylesheets/mobile/topic-list.scss
@@ -409,6 +409,10 @@ tr.category-topic-link {
   }
 }
 
+.category-topics-count a {
+  color: var(--primary);
+}
+
 .topic-list-bottom {
   margin: 20px 0 0 0;
 }

GitHub sha: a51db9a7

This commit appears in #10541 which was approved by awesomerobot. It was merged by riking.