diff --git a/contao/templates/frontend/event_filter.html.twig b/contao/templates/frontend/event_filter.html.twig index 327e658..12eb5b8 100644 --- a/contao/templates/frontend/event_filter.html.twig +++ b/contao/templates/frontend/event_filter.html.twig @@ -31,7 +31,7 @@ - +
@@ -69,13 +69,13 @@ } #eventfilters .widget-select.active .ts-control { - outline: 2px solid currentColor; - outline-offset: 2px; + outline: 3px solid currentColor; + outline-offset: 3px; } #eventfilters .ts-control:focus-within { - outline: 2px solid currentColor; - outline-offset: 2px; + outline: 3px solid currentColor; + outline-offset: 3px; } #eventfilters .eventfilter-reset[hidden] { @@ -91,9 +91,7 @@ } #eventfilters .ts-wrapper.single .ts-control > input { - width: auto !important; - min-width: 0 !important; - flex: 0 0 auto; + width: auto; } @@ -138,11 +136,19 @@ } return new window.TomSelect(selectElement, { - create: true, + create: false, sortField: { field: 'text', direction: 'asc', }, + render: { + no_results() { + return '