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