summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-03-18 12:21:57 +0100
committerGravatar default2024-03-18 12:21:57 +0100
commit8f983d388a29e0fcee4bc1ff0915e5948c8c69de (patch)
tree739260ddbde1eb44125929dfd9e7d68763a968f3
parentUpdated documentation. (diff)
downloadsnac2-8f983d388a29e0fcee4bc1ff0915e5948c8c69de.tar.gz
snac2-8f983d388a29e0fcee4bc1ff0915e5948c8c69de.tar.xz
snac2-8f983d388a29e0fcee4bc1ff0915e5948c8c69de.zip
Tweaked HTML structure of the people page.
-rw-r--r--html.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/html.c b/html.c
index 57804b9..b87b7be 100644
--- a/html.c
+++ b/html.c
@@ -2097,9 +2097,7 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t)
2097 snac_posts = xs_html_tag("details", 2097 snac_posts = xs_html_tag("details",
2098 xs_html_attr("open", NULL), 2098 xs_html_attr("open", NULL),
2099 xs_html_tag("summary", 2099 xs_html_tag("summary",
2100 xs_html_text("...")), 2100 xs_html_text("..."))));
2101 xs_html_tag("div",
2102 xs_html_attr("class", "snac-posts"))));
2103 2101
2104 xs_list *p = list; 2102 xs_list *p = list;
2105 char *actor_id; 2103 char *actor_id;
@@ -2224,8 +2222,10 @@ xs_str *html_people(snac *user)
2224 xs_html *html = xs_html_tag("html", 2222 xs_html *html = xs_html_tag("html",
2225 html_user_head(user, NULL), 2223 html_user_head(user, NULL),
2226 xs_html_add(html_user_body(user, 0), 2224 xs_html_add(html_user_body(user, 0),
2227 html_people_list(user, wing, L("People you follow"), "i"), 2225 xs_html_tag("div",
2228 html_people_list(user, wers, L("People that follow you"), "e"), 2226 xs_html_attr("class", "snac-posts"),
2227 html_people_list(user, wing, L("People you follow"), "i"),
2228 html_people_list(user, wers, L("People that follow you"), "e")),
2229 html_footer())); 2229 html_footer()));
2230 2230
2231 return xs_html_render_s(html, "<!DOCTYPE html>\n"); 2231 return xs_html_render_s(html, "<!DOCTYPE html>\n");