diff options
-rw-r--r-- | src/usr/local/www/classes/Form/Textarea.class.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/classes/Form/Textarea.class.php b/src/usr/local/www/classes/Form/Textarea.class.php index 699186e..1ca879e 100644 --- a/src/usr/local/www/classes/Form/Textarea.class.php +++ b/src/usr/local/www/classes/Form/Textarea.class.php @@ -32,9 +32,7 @@ class Form_Textarea extends Form_Input protected $_value; protected $_attributes = array( 'rows' => 5, - 'cols' => 60, - 'class' => array('form-control' => true), - 'style' => "width: auto;" + 'class' => array('form-control' => true) ); public function __construct($name, $title, $value) diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index bdd7949..f046748 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -1041,7 +1041,9 @@ foreach ($pkg['fields']['field'] as $pkga) { if ($pkga['wrap'] == "off") { $grp->setAttribute("wrap", "off"); - $grp->setAttribute("style", "white-space:nowrap;"); + $grp->setAttribute("style", "white-space:nowrap; width: auto;"); + } else { + $grp->setAttribute("style", "width: auto;"); } if ($grouping) { |