From ed411ec9b6cc9dc9b3f8ece62c7ff56b187444fd Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 3 Feb 2015 16:58:53 +0100 Subject: [PATCH] Increase size of the permissions set input fixes #7762 --- application/forms/Security/RoleForm.php | 3 ++- public/css/icinga/forms.less | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/application/forms/Security/RoleForm.php b/application/forms/Security/RoleForm.php index 0e3c97c0a..caf3fb872 100644 --- a/application/forms/Security/RoleForm.php +++ b/application/forms/Security/RoleForm.php @@ -108,7 +108,8 @@ class RoleForm extends ConfigForm 'description' => $this->translate( 'The permissions to grant. You may select more than one permission' ), - 'multiOptions' => $this->providedPermissions + 'multiOptions' => $this->providedPermissions, + 'class' => 'grant-permissions' ) ) )); diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index 172536856..874ecfecc 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -220,3 +220,8 @@ form label.has-feedback:after { /* Uncomment for 3D effect */ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } + +select.grant-permissions { + height: 20em; + width: auto; +}