feat: show replies count on summary button
This commit is contained in:
parent
9285c5ad3b
commit
cc532829c7
1 changed files with 5 additions and 1 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue