backoffice: limit height of fields filter (#1671)

This commit is contained in:
Frédéric Péters 2012-09-19 10:50:48 +02:00
parent fe51ceda5d
commit 854729fee2
2 changed files with 6 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class FormPage(Directory):
'<noscript><input type="submit" value="%s"/></noscript>' % _('Refresh')
'<h3>%s</h3>' % _('Fields to display')
'<ul>'
'<ul id="fields-filter">'
for field in self.get_formdef_fields():
if not hasattr(field, str('get_view_value')):
continue

View File

@ -664,6 +664,11 @@ div#page-links {
margin: 1em 0;
}
ul#fields-filter {
overflow: auto;
max-height: 350px;
}
/* Styling for workflow graphs */
svg {