From 6e87169874f5236ded5e0afe09ab9878f21f0700 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Tue, 22 Dec 2015 08:47:54 -0500 Subject: Adds style="width: auto;" attribute to textareas to allow the "cols" attribute to take effect. Required bu pkg_edit.php and by wizards --- src/usr/local/www/classes/Form/Textarea.class.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/usr/local/www') diff --git a/src/usr/local/www/classes/Form/Textarea.class.php b/src/usr/local/www/classes/Form/Textarea.class.php index 9cda51a..2447f08 100644 --- a/src/usr/local/www/classes/Form/Textarea.class.php +++ b/src/usr/local/www/classes/Form/Textarea.class.php @@ -33,6 +33,7 @@ class Form_Textarea extends Form_Input protected $_attributes = array( 'rows' => 5, 'class' => array('form-control' => true), + 'style' => "width: auto;" ); public function __construct($name, $title, $value) -- cgit v1.1