From 619c7a1177e548a509c709b265455bf841ac156e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 10 Jul 2010 00:35:19 +0000 Subject: [PATCH] webyesod: maximise edit form width and use normal font size --- Hledger/Cli/Commands/Web.hs | 2 +- data/web/style.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Hledger/Cli/Commands/Web.hs b/Hledger/Cli/Commands/Web.hs index e7ba7a8d1..d585b332d 100644 --- a/Hledger/Cli/Commands/Web.hs +++ b/Hledger/Cli/Commands/Web.hs @@ -386,7 +386,7 @@ editform t = [$hamlet| %span#formheading Edit journal: %tr %td!colspan=2 - %textarea!name=text!rows=50!cols=80 + %textarea!name=text!rows=30!cols=80 $string.t$ %tr#addbuttonrow %td diff --git a/data/web/style.css b/data/web/style.css index fb77aca24..d314ea128 100644 --- a/data/web/style.css +++ b/data/web/style.css @@ -15,7 +15,8 @@ body { font-family: "helvetica","arial", "sans serif"; margin:0; } #addform #descriptionrow { } #addform #postingrow { } #addform #addbuttonrow { text-align:right; } -#editform textarea { background-color:#eeeeee; } +#editform { width:95%; } +#editform textarea { background-color:#eeeeee; font-family:monospace; font-size:medium; width:100%; } #content { margin:1em; } .formheading td { padding-bottom:8px; } #formheading { font-size:medium; font-weight:bold; }