FEATURE: Topic count in category boxes (#12756)

FEATURE: Topic count in category boxes (#12756)

  • FEARTURE: Also add outlet to featured topic category boxes
diff --git a/app/assets/javascripts/discourse/app/templates/components/categories-boxes-with-topics.hbs b/app/assets/javascripts/discourse/app/templates/components/categories-boxes-with-topics.hbs
index 16861c9..e22f84f 100644
--- a/app/assets/javascripts/discourse/app/templates/components/categories-boxes-with-topics.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/categories-boxes-with-topics.hbs
@@ -34,6 +34,7 @@
           {{/if}}
         </div>
       {{/unless}}
+      {{plugin-outlet name="category-box-below-each-category" connectorTagName="" tagName="" args=(hash category=c)}}
     </div>
   </div>
 {{/each}}
diff --git a/app/assets/stylesheets/common/base/category-list.scss b/app/assets/stylesheets/common/base/category-list.scss
index 73d1cfd..d45b6b3 100644
--- a/app/assets/stylesheets/common/base/category-list.scss
+++ b/app/assets/stylesheets/common/base/category-list.scss
@@ -80,7 +80,7 @@
   .category-box-inner {
     box-sizing: border-box;
     width: 100%;
-    padding: 0;
+    padding: 1em;
     display: flex;
     flex-direction: column;
 
@@ -248,7 +248,7 @@
   }
 
   .category-box-heading {
-    padding: 1em 1em 0.5em 1em;
+    margin-bottom: 0.5em;
     a[href] {
       width: 100%;
       color: var(--primary);
@@ -256,7 +256,7 @@
   }
 
   .featured-topics {
-    padding: 0.5em 1em 1em 1em;
+    margin-bottom: 1em;
     ul {
       color: var(--primary-medium);
       list-style: none;

GitHub sha: 19cb0566

This commit appears in #12756 which was approved by eviltrout. It was merged by jordanvidrine.