aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoni Sawicki <tenox@google.com>2020-09-11 20:02:45 -0700
committerAntoni Sawicki <tenox@google.com>2020-09-11 20:02:45 -0700
commit0876d22f99224c538a00f3f6042eac47e5569854 (patch)
tree4d360c072ac0263d459b58c132bdd242cacd67c4
parent1f6599473c0cfece217643c35742592e35cb7ddb (diff)
downloadwfm-0876d22f99224c538a00f3f6042eac47e5569854.tar.gz
add padding and disable spellcheck in textarea
-rw-r--r--dialogs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dialogs.c b/dialogs.c
index f0fc25a..24b9e32 100644
--- a/dialogs.c
+++ b/dialogs.c
@@ -451,6 +451,7 @@ void edit_ui(void) {
fprintf(cgiOut,
"<STYLE TYPE=\"text/css\"><!-- \n"
"html, body, table, textarea, form { box-sizing: border-box; width:100%%; height:100%%; margin:0px; padding:0px; } \n"
+ "textarea { padding: 4px; } \n"
"--></STYLE>\n"
"</HEAD>\n"
"<BODY>\n"
@@ -477,7 +478,7 @@ void edit_ui(void) {
"</TR>\n"
"<TR STYLE=\"height:99%%;\">\n"
"<TD COLSPAN=2 ALIGN=\"CENTER\" VALIGN=\"MIDDLE\" STYLE=\"height:100%%;\">\n"
- "<TEXTAREA COLS=\"120\" ROWS=\"24\" NAME=\"content\" STYLE=\"resize:none;\">");
+ "<TEXTAREA COLS=\"120\" ROWS=\"24\" NAME=\"content\" SPELLCHECK=\"false\" STYLE=\"resize:none;\">");
cgiHtmlEscapeData(buff, size);