commit e1df0d0

default  ·  2024-10-19 15:49:02 +0000 UTC
parent c30036f
Tweaked HTML for the notifications page.
1 files changed,  +6, -2
M html.c
M html.c
+6, -2
 1@@ -2662,7 +2662,9 @@ xs_str *html_notifications(snac *user, int skip, int show)
 2                         xs_html_text(L("New"))));
 3 
 4                 xs_html_add(body,
 5-                    noti_new);
 6+                    xs_html_tag("div",
 7+                        xs_html_attr("class", "snac-posts"),
 8+                        noti_new));
 9             }
10 
11             xs_html_add(noti_new,
12@@ -2677,7 +2679,9 @@ xs_str *html_notifications(snac *user, int skip, int show)
13                         xs_html_text(L("Already seen"))));
14 
15                 xs_html_add(body,
16-                    noti_seen);
17+                    xs_html_tag("div",
18+                        xs_html_attr("class", "snac-posts"),
19+                        noti_seen));
20             }
21 
22             xs_html_add(noti_seen,