diff --git a/skins/standard/floater.css b/skins/standard/floater.css index ca7e6ba08..c86b52004 100644 --- a/skins/standard/floater.css +++ b/skins/standard/floater.css @@ -67,6 +67,10 @@ border: 3px double #bbb; } +#floater_innerwrap .input-width { + width: calc(100% - 125px); +} + #floater_innerwrap select[disabled], #floater_innerwrap input[disabled], #floater_innerwrap button[disabled], diff --git a/templates/scripts/floaters/add_edit_activity.php b/templates/scripts/floaters/add_edit_activity.php index 1c27673d7..4b64ea35e 100644 --- a/templates/scripts/floaters/add_edit_activity.php +++ b/templates/scripts/floaters/add_edit_activity.php @@ -45,7 +45,7 @@ @@ -131,7 +131,7 @@ 'cols' => 30, 'rows' => 5, 'class' => 'comment', - 'style' => 'width:620px' + 'class' => 'input-width' ]); ?> diff --git a/templates/scripts/floaters/add_edit_customer.php b/templates/scripts/floaters/add_edit_customer.php index 727101bef..86e4546b0 100644 --- a/templates/scripts/floaters/add_edit_customer.php +++ b/templates/scripts/floaters/add_edit_customer.php @@ -50,11 +50,11 @@ @@ -81,30 +81,30 @@ @@ -113,23 +113,23 @@ @@ -142,7 +142,7 @@ 'id' => 'customerGroups', 'multiple' => 'multiple', 'size' => 5, - 'style' => 'width:620px' + 'class' => 'input-width' ], $this->groups); ?> @@ -155,7 +155,7 @@ 'cols' => 30, 'rows' => 5, 'class' => 'comment', - 'style' => 'width:620px' + 'class' => 'input-width' ]); ?> diff --git a/templates/scripts/floaters/add_edit_project.php b/templates/scripts/floaters/add_edit_project.php index 7706cd6ed..238374d38 100644 --- a/templates/scripts/floaters/add_edit_project.php +++ b/templates/scripts/floaters/add_edit_project.php @@ -49,10 +49,10 @@
@@ -154,7 +154,7 @@ 'cols' => 30, 'rows' => 5, 'class' => 'comment', - 'style' => 'width:620px' + 'class' => 'input-width' ]); ?>