Ver Fonte

Set the CSS class snac-no-more-unseen-posts.

default há 2 meses atrás
pai
commit
d9d2dedbc0
1 ficheiros alterados com 7 adições e 6 exclusões
  1. 7 6
      html.c

+ 7 - 6
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;