commit 8126fb9
Merge pull request 'html.c: html_user_body: snac-property: Put (empty space) instead of <br> & other' (#142) from Yonle/snac2:master into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/142
3 files changed,
+3,
-3
+1,
-1
1@@ -26,7 +26,7 @@ pre { overflow-x: scroll; }
2 .snac-footer { margin-top: 2em; font-size: 75% }
3 .snac-poll-result { margin-left: auto; margin-right: auto; }
4 @media (prefers-color-scheme: dark) {
5- body { background-color: #000; color: #fff; }
6+ body, input, textarea { background-color: #000; color: #fff; }
7 a { color: #7799dd }
8 a:visited { color: #aa99dd }
9 }
M
html.c
+1,
-1
1@@ -820,7 +820,7 @@ static xs_html *html_user_body(snac *user, int read_only)
2 xs_html_attr("class", "snac-property-name"),
3 xs_html_text(k)),
4 xs_html_text(":"),
5- xs_html_sctag("br", NULL),
6+ xs_html_raw(" "),
7 xs_html_tag("span",
8 xs_html_attr("class", "snac-property-value"),
9 value),
M
utils.c
+1,
-1
1@@ -66,7 +66,7 @@ static const char *default_css =
2 ".snac-footer { margin-top: 2em; font-size: 75% }\n"
3 ".snac-poll-result { margin-left: auto; margin-right: auto; }\n"
4 "@media (prefers-color-scheme: dark) { \n"
5- " body { background-color: #000; color: #fff; }\n"
6+ " body, input, textarea { background-color: #000; color: #fff; }\n"
7 " a { color: #7799dd }\n"
8 " a:visited { color: #aa99dd }\n"
9 "}\n"