feat: show replies count on summary button

This commit is contained in:
Ayo Ayco 2024-04-24 14:08:30 +02:00
parent 9285c5ad3b
commit cc532829c7

View file

@ -22,7 +22,11 @@
color: white;
}
}
summary:hover {
text-decoration: underline;
}
summary {
color: blue;
cursor: pointer;
margin-top: 1em;
}
@ -105,7 +109,7 @@
{% endfor %}
<details>
<summary>See more</summary>
<summary>See more ({{ thread.descendants | length }})</summary>
<ul>
{% for descendant in thread.descendants %}
<li class="card descendant">