Przeglądaj źródła

Added a (CSS hidden) hr tag after each post.

default 1 rok temu
rodzic
commit
bb5a2445da
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      html.c

+ 5 - 0
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;
 }