mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
New CSS class snac-post-header, that wraps the avatar + name + link of a post.
This commit is contained in:
parent
e9711f94d0
commit
bd81708d56
1 changed files with 3 additions and 1 deletions
4
html.c
4
html.c
|
@ -81,7 +81,7 @@ xs_str *actor_name(xs_dict *actor)
|
|||
xs_str *html_actor_icon(xs_str *os, char *actor,
|
||||
const char *date, const char *udate, const char *url, int priv)
|
||||
{
|
||||
xs *s = xs_str_new(NULL);
|
||||
xs *s = xs_str_new("<div class=\"snac-post-header\">\n");
|
||||
|
||||
xs *avatar = NULL;
|
||||
char *v;
|
||||
|
@ -169,6 +169,8 @@ xs_str *html_actor_icon(xs_str *os, char *actor,
|
|||
s = xs_str_cat(s, s1);
|
||||
}
|
||||
|
||||
s = xs_str_cat(s, "</div>\n");
|
||||
|
||||
return xs_str_cat(os, s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue