Added class snac-post-header to the people list.

This commit is contained in:
default 2023-06-29 18:10:59 +02:00
parent f4c7f4b9d7
commit e64471b7e4

4
html.c
View file

@ -1313,10 +1313,12 @@ d_char *html_people_list(snac *snac, d_char *os, d_char *list, const char *heade
xs *actor = NULL; xs *actor = NULL;
if (valid_status(actor_get(snac, actor_id, &actor))) { if (valid_status(actor_get(snac, actor_id, &actor))) {
s = xs_str_cat(s, "<div class=\"snac-post\">\n"); s = xs_str_cat(s, "<div class=\"snac-post\">\n<div class=\"snac-post-header\">\n");
s = html_actor_icon(s, actor, xs_dict_get(actor, "published"), NULL, NULL, 0); s = html_actor_icon(s, actor, xs_dict_get(actor, "published"), NULL, NULL, 0);
s = xs_str_cat(s, "</div>\n");
/* content (user bio) */ /* content (user bio) */
char *c = xs_dict_get(actor, "summary"); char *c = xs_dict_get(actor, "summary");