From 9be8f02829b83ffadf721a5e1ab700fa5aa57388 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 24 Dec 2018 04:23:06 -0400 Subject: [PATCH] Make sure the ChoiceForm is full height Signed-off-by: Roberto Rosario --- mayan/apps/common/forms.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mayan/apps/common/forms.py b/mayan/apps/common/forms.py index c84cd6063f..57e71c6d16 100644 --- a/mayan/apps/common/forms.py +++ b/mayan/apps/common/forms.py @@ -31,7 +31,9 @@ class ChoiceForm(forms.Form): self.fields['selection'].help_text = help_text self.fields['selection'].widget.disabled_choices = disabled_choices self.fields['selection'].widget.attrs.update( - {'size': 14, 'class': 'choice_form'} + { + 'class': 'full-height', 'data-height-difference': '450' + } ) selection = forms.MultipleChoiceField(widget=DisableableSelectWidget())