Hopefully fix style bug when new filter is added to grid

i.e. when user selects a new filter from dropdown, sometimes it would display
incorrectly, with everything "after" the checkbox appearing *below* instead of
to the right of it
This commit is contained in:
Lance Edgar 2019-04-12 10:48:56 -05:00
parent 6ae703dfd9
commit df43abf9d3

View file

@ -11,7 +11,7 @@
<div class="filter" id="filter-${filtr.key}" data-key="${filtr.key}"${' style="display: none;"' if not filtr.active else ''|n}>
${h.checkbox('{}-active'.format(filtr.key), class_='active', id='filter-active-{}'.format(filtr.key), checked=filtr.active)}
<label for="filter-active-${filtr.key}">${filtr.label}</label>
<div class="inputs">
<div class="inputs" style="display: inline-block;">
${form.filter_verb(filtr)}
${form.filter_value(filtr)}
</div>