From 54e97f114d9fdb81a2b2f47cdd9d2b3f84a03ff4 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 17 Jun 2014 13:54:32 +0000 Subject: [PATCH] Widget\SortBox: hardcode element width Temporarily added inline CSS, shall be removed soon --- library/Icinga/Web/Widget/SortBox.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/Icinga/Web/Widget/SortBox.php b/library/Icinga/Web/Widget/SortBox.php index 97e528784..ac5bfd214 100644 --- a/library/Icinga/Web/Widget/SortBox.php +++ b/library/Icinga/Web/Widget/SortBox.php @@ -147,7 +147,8 @@ class SortBox extends AbstractWidget array( 'label' => 'Sort By', 'multiOptions' => $this->sortFields, - 'class' => 'autosubmit' + 'style' => 'width: 12em', + 'class' => 'autosubmit', ) ); $form->addElement( @@ -158,6 +159,7 @@ class SortBox extends AbstractWidget 'desc' => 'Desc', 'asc' => 'Asc', ), + 'style' => 'width: 4em', 'class' => 'autosubmit' )