aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-04-04 16:48:11 +0200
committerdefault <nobody@localhost>2025-04-04 16:48:11 +0200
commitbb5a2445dac94a4d90b7d455b7723416a3df13ba (patch)
tree573b1604f2325c994042c3314996676ec114d12f /html.c
parent06cc93a5dbda3432c153f745decb4b697a5d2a91 (diff)
Added a (CSS hidden) hr tag after each post.
Diffstat (limited to 'html.c')
-rw-r--r--html.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/html.c b/html.c
index 25a2e90..eff55e7 100644
--- a/html.c
+++ b/html.c
@@ -2731,6 +2731,11 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
}
}
+ /* add an invisible hr, to help differentiate between posts in text browsers */
+ xs_html_add(entry_top,
+ xs_html_sctag("hr",
+ xs_html_attr("style", "display: none")));
+
return entry_top;
}