FEATURE: Topic count in category boxes (#12756)

* FEARTURE: Also add outlet to featured topic category boxes
This commit is contained in:
Jordan Vidrine 2021-04-19 16:24:17 -05:00 committed by GitHub
parent 5bec0e5763
commit 19cb05661d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -34,6 +34,7 @@
{{/if}} {{/if}}
</div> </div>
{{/unless}} {{/unless}}
{{plugin-outlet name="category-box-below-each-category" connectorTagName="" tagName="" args=(hash category=c)}}
</div> </div>
</div> </div>
{{/each}} {{/each}}

View File

@ -80,7 +80,7 @@
.category-box-inner { .category-box-inner {
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
padding: 0; padding: 1em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -248,7 +248,7 @@
} }
.category-box-heading { .category-box-heading {
padding: 1em 1em 0.5em 1em; margin-bottom: 0.5em;
a[href] { a[href] {
width: 100%; width: 100%;
color: var(--primary); color: var(--primary);
@ -256,7 +256,7 @@
} }
.featured-topics { .featured-topics {
padding: 0.5em 1em 1em 1em; margin-bottom: 1em;
ul { ul {
color: var(--primary-medium); color: var(--primary-medium);
list-style: none; list-style: none;