commit e64471b

default  ·  2023-06-29 16:10:59 +0000 UTC
parent f4c7f4b
Added class snac-post-header to the people list.
1 files changed,  +3, -1
M html.c
M html.c
+3, -1
 1@@ -1313,10 +1313,12 @@ d_char *html_people_list(snac *snac, d_char *os, d_char *list, const char *heade
 2         xs *actor = NULL;
 3 
 4         if (valid_status(actor_get(snac, actor_id, &actor))) {
 5-            s = xs_str_cat(s, "<div class=\"snac-post\">\n");
 6+            s = xs_str_cat(s, "<div class=\"snac-post\">\n<div class=\"snac-post-header\">\n");
 7 
 8             s = html_actor_icon(s, actor, xs_dict_get(actor, "published"), NULL, NULL, 0);
 9 
10+            s = xs_str_cat(s, "</div>\n");
11+
12             /* content (user bio) */
13             char *c = xs_dict_get(actor, "summary");
14