From fa3af4fe7826211b161020c822e91cd721792605 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Thu, 30 Mar 2017 23:28:46 +1000 Subject: [PATCH] Make it prettier --- www/static/style.css | 5 +++++ www_msgs.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/www/static/style.css b/www/static/style.css index ee41005..07199d1 100644 --- a/www/static/style.css +++ b/www/static/style.css @@ -220,3 +220,8 @@ display: table-column; width: 200px; } + +.msgbody { + background-color: black; + color: white; +} \ No newline at end of file diff --git a/www_msgs.c b/www_msgs.c index d44cc8d..dda1261 100644 --- a/www_msgs.c +++ b/www_msgs.c @@ -456,7 +456,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i } strcat(page, buffer); len += strlen(buffer); - sprintf(buffer, "
\n"); + sprintf(buffer, "
\n");
 		if (len + strlen(buffer) > max_len - 1) {
 			max_len += 4096;
 			page = (char *)realloc(page, max_len);
@@ -480,7 +480,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
 		free(aha_out);
 		free(aha_text);
 		
-		sprintf(buffer, "
\n"); + sprintf(buffer, "
\n"); if (len + strlen(buffer) > max_len - 1) { max_len += 4096; page = (char *)realloc(page, max_len);