summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-01-04 10:35:27 +0100
committerGravatar default2024-01-04 10:35:27 +0100
commit2218889b43f0393c1d41be62669d3be8389a3779 (patch)
tree0b097e241127fadafb9ba310459a1c990b01d4a6
parentUpdated copyright year. (diff)
downloadsnac2-2218889b43f0393c1d41be62669d3be8389a3779.tar.gz
snac2-2218889b43f0393c1d41be62669d3be8389a3779.tar.xz
snac2-2218889b43f0393c1d41be62669d3be8389a3779.zip
In the people page, followers and following lists are foldable.
-rw-r--r--html.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/html.c b/html.c
index dcebebb..9dc42df 100644
--- a/html.c
+++ b/html.c
@@ -1982,8 +1982,12 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t)
1982 xs_html_tag("h2", 1982 xs_html_tag("h2",
1983 xs_html_attr("class", "snac-header"), 1983 xs_html_attr("class", "snac-header"),
1984 xs_html_text(header)), 1984 xs_html_text(header)),
1985 snac_posts = xs_html_tag("div", 1985 snac_posts = xs_html_tag("details",
1986 xs_html_attr("class", "snac-posts"))); 1986 xs_html_attr("open", NULL),
1987 xs_html_tag("summary",
1988 xs_html_text("...")),
1989 xs_html_tag("div",
1990 xs_html_attr("class", "snac-posts"))));
1987 1991
1988 xs_list *p = list; 1992 xs_list *p = list;
1989 char *actor_id; 1993 char *actor_id;