diff options
author | default <nobody@localhost> | 2024-01-04 10:35:27 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-01-04 10:35:27 +0100 |
commit | 2218889b43f0393c1d41be62669d3be8389a3779 (patch) | |
tree | 0b097e241127fadafb9ba310459a1c990b01d4a6 | |
parent | 755d997fb1fa5189cd227fa57fd8d4b5ad4f7819 (diff) |
In the people page, followers and following lists are foldable.
-rw-r--r-- | html.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1982,8 +1982,12 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t) xs_html_tag("h2", xs_html_attr("class", "snac-header"), xs_html_text(header)), - snac_posts = xs_html_tag("div", - xs_html_attr("class", "snac-posts"))); + snac_posts = xs_html_tag("details", + xs_html_attr("open", NULL), + xs_html_tag("summary", + xs_html_text("...")), + xs_html_tag("div", + xs_html_attr("class", "snac-posts")))); xs_list *p = list; char *actor_id; |