diff --git a/doc/style.css b/doc/style.css index b1f2163..a133db6 100644 --- a/doc/style.css +++ b/doc/style.css @@ -26,7 +26,7 @@ pre { overflow-x: scroll; } .snac-footer { margin-top: 2em; font-size: 75% } .snac-poll-result { margin-left: auto; margin-right: auto; } @media (prefers-color-scheme: dark) { - body { background-color: #000; color: #fff; } + body, input, textarea { background-color: #000; color: #fff; } a { color: #7799dd } a:visited { color: #aa99dd } } diff --git a/html.c b/html.c index e1df7e9..eff356e 100644 --- a/html.c +++ b/html.c @@ -820,7 +820,7 @@ static xs_html *html_user_body(snac *user, int read_only) xs_html_attr("class", "snac-property-name"), xs_html_text(k)), xs_html_text(":"), - xs_html_sctag("br", NULL), + xs_html_raw(" "), xs_html_tag("span", xs_html_attr("class", "snac-property-value"), value), diff --git a/utils.c b/utils.c index 69d3e29..d8cebdc 100644 --- a/utils.c +++ b/utils.c @@ -66,7 +66,7 @@ static const char *default_css = ".snac-footer { margin-top: 2em; font-size: 75% }\n" ".snac-poll-result { margin-left: auto; margin-right: auto; }\n" "@media (prefers-color-scheme: dark) { \n" - " body { background-color: #000; color: #fff; }\n" + " body, input, textarea { background-color: #000; color: #fff; }\n" " a { color: #7799dd }\n" " a:visited { color: #aa99dd }\n" "}\n"