From cb66dfd76674bc99124274ceb6b8f5660d968fba Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 9 Mar 2010 11:45:37 +0000 Subject: - Patch #735628 by sun, Jacine: resizable textarea behavior leads to unpredictable results. --- modules/filter/filter.css | 1 - modules/node/node.css | 4 ---- modules/system/system-behavior.css | 14 +++++++------- 3 files changed, 7 insertions(+), 12 deletions(-) (limited to 'modules') diff --git a/modules/filter/filter.css b/modules/filter/filter.css index 7102880b1..ae1ab2ecf 100644 --- a/modules/filter/filter.css +++ b/modules/filter/filter.css @@ -5,7 +5,6 @@ } .filter-wrapper { border-top: 0; - width: 95%; margin: 0; padding: 1.5em 0 1.5em; } diff --git a/modules/node/node.css b/modules/node/node.css index c97d41ed9..7b00fc7b7 100644 --- a/modules/node/node.css +++ b/modules/node/node.css @@ -31,10 +31,6 @@ td.revision-current { .node-form .standard { clear: both; } -.node-form textarea { - display: block; - width: 95%; -} .node-form .attachments fieldset { float: none; display: block; diff --git a/modules/system/system-behavior.css b/modules/system/system-behavior.css index 0ff2f875b..1dcb4221f 100644 --- a/modules/system/system-behavior.css +++ b/modules/system/system-behavior.css @@ -79,8 +79,13 @@ html.js fieldset.collapsible .fieldset-wrapper { /** * Resizable textareas */ -.resizable-textarea { - width: 95%; +.form-textarea-wrapper textarea { + margin: 0; + width: 100%; + display: block; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } .resizable-textarea .grippie { height: 9px; @@ -90,11 +95,6 @@ html.js fieldset.collapsible .fieldset-wrapper { border-top-width: 0; cursor: s-resize; } -html.js .resizable-textarea textarea { - margin-bottom: 0; - width: 100%; - display: block; -} /** * Table drag and drop -- cgit v1.2.3