diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-16 15:34:33 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-16 15:34:33 -0400 |
commit | 13c93b1ab9a7ae3efb845b7fb73e34c94b912e3d (patch) | |
tree | c9be6e7161655867bc9d68d359274b095ea1bf94 | |
parent | 5b49890be04c5691437e33e2c28fe46a0c65198f (diff) | |
download | ikiwiki-13c93b1ab9a7ae3efb845b7fb73e34c94b912e3d.tar ikiwiki-13c93b1ab9a7ae3efb845b7fb73e34c94b912e3d.tar.gz |
note that chrome fixes this nicely
-rw-r--r-- | doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn b/doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn index 4c9c2352a..0c45f0c90 100644 --- a/doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn +++ b/doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn @@ -10,7 +10,7 @@ On longer pages its not very comfortable to edit pages with such a small box. Th > } > > Perhaps you have replaced it with a modified style sheet that does not -> include that? --[[Joey]] [[!tag done]] +> include that? --[[Joey]] >> The screen shot was made with http://ikiwiki.info/ where i didn't change anything. The width is optimally used. The problem is the height. @@ -32,3 +32,9 @@ On longer pages its not very comfortable to edit pages with such a small box. Th >>> --[[Joey]] >>>>>> the javascript approach would need to work something like this: you need to know about the "bottom-most" item on the edit page, and get a handle for that object in the DOM. You can then obtain the absolute position height-wise of this element and the absolute position of the bottom of the window to determine the pixel-difference. Then, you set the height of the textarea to (current height in px) + determined-value. This needs to be re-triggered on various resize events, at least for the window and probably for other elements too. I may have a stab at this at some point. -- [[Jon]] + +Google chrome has a completly elegant fix for this problem: All textareas +have a small resize handle in a corner, that can be dragged around. No +nasty javascript needed. IMHO, this is the right solution, and I hope other +browsers emulate it. [[done]] +--[[Joey]] |