commit d9d2dedbc053b35aee02ba7f408e056ab03368c0
parent 492b91e4e47c43d15bb828ecbe1e4195c47c31f8
Author: default <nobody@localhost>
Date: Tue, 28 Jan 2025 07:48:31 +0100
Set the CSS class snac-no-more-unseen-posts.
Diffstat:
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/html.c b/html.c
@@ -2660,12 +2660,13 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
xs *s = xs_fmt("%s/admin#top", user->actor);
xs_html_add(posts,
- xs_html_text(L("No more unseen posts")),
- xs_html_text(" - "),
- xs_html_tag("a",
- xs_html_attr("href", s),
- xs_html_text(L("Back to top"))),
- xs_html_sctag("hr", NULL));
+ xs_html_tag("div",
+ xs_html_attr("class", "snac-no-more-unseen-posts"),
+ xs_html_text(L("No more unseen posts")),
+ xs_html_text(" - "),
+ xs_html_tag("a",
+ xs_html_attr("href", s),
+ xs_html_text(L("Back to top")))));
}
mark_shown = 1;