commit 2218889
default
·
2024-01-04 09:35:27 +0000 UTC
parent 755d997
In the people page, followers and following lists are foldable.
1 files changed,
+6,
-2
M
html.c
M
html.c
+6,
-2
1@@ -1982,8 +1982,12 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t)
2 xs_html_tag("h2",
3 xs_html_attr("class", "snac-header"),
4 xs_html_text(header)),
5- snac_posts = xs_html_tag("div",
6- xs_html_attr("class", "snac-posts")));
7+ snac_posts = xs_html_tag("details",
8+ xs_html_attr("open", NULL),
9+ xs_html_tag("summary",
10+ xs_html_text("...")),
11+ xs_html_tag("div",
12+ xs_html_attr("class", "snac-posts"))));
13
14 xs_list *p = list;
15 char *actor_id;