Project

General

Profile

« Previous | Next » 

Revision e5274f51

Added by Stephen Beaver over 9 years ago

Move width:auto style to textarea handler in pkg_edit.php

View differences:

src/usr/local/www/classes/Form/Textarea.class.php
32 32
	protected $_value;
33 33
	protected $_attributes = array(
34 34
		'rows' => 5,
35
		'cols' => 60,
36
		'class' => array('form-control' => true),
37
		'style' => "width: auto;"
35
		'class' => array('form-control' => true)
38 36
	);
39 37

  
40 38
	public function __construct($name, $title, $value)
src/usr/local/www/pkg_edit.php
1041 1041

  
1042 1042
			if ($pkga['wrap'] == "off") {
1043 1043
				$grp->setAttribute("wrap", "off");
1044
				$grp->setAttribute("style", "white-space:nowrap;");
1044
				$grp->setAttribute("style", "white-space:nowrap; width: auto;");
1045
			} else {
1046
				$grp->setAttribute("style", "width: auto;");
1045 1047
			}
1046 1048

  
1047 1049
			if ($grouping) {

Also available in: Unified diff