better size for group selector

This commit is contained in:
Oliver Gorwits
2018-03-19 16:09:14 +00:00
parent 43edd06b56
commit bf87615a8a

View File

@@ -77,7 +77,7 @@
</label>
[% IF hgroup_list.size %]
<select class="nd_side-select" size="[% hgroup_list.size > 5 ? 5 : hgroup_list.size %]"
<select class="nd_side-select" size="[% hgroup_list.size > 4 ? 4 : hgroup_list.size %]"
multiple="on" name="hgroup" id="nd_hgroup-select"
rel="tooltip" data-placement="left" data-offset="5" data-title="Host Groups"/>
[% FOREACH opt IN hgroup_list.pairs %]