snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit e64471b7e4985a6aeacc490773611ee8a82df084
parent f4c7f4b9d79d8430e4d95c9c46a8ab402096d5a3
Author: default <nobody@localhost>
Date:   Thu, 29 Jun 2023 18:10:59 +0200

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

Diffstat:
Mhtml.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/html.c b/html.c @@ -1313,10 +1313,12 @@ d_char *html_people_list(snac *snac, d_char *os, d_char *list, const char *heade xs *actor = NULL; 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 = xs_str_cat(s, "</div>\n"); + /* content (user bio) */ char *c = xs_dict_get(actor, "summary");