From 8aa09e893b4bc9aa25caffb64c93e8340c8ca9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Mummert?= Date: Tue, 24 Feb 2026 17:46:25 +0100 Subject: [PATCH] Switch event filter selects back to native controls --- .../templates/frontend/event_filter.html.twig | 103 +++--------------- 1 file changed, 16 insertions(+), 87 deletions(-) diff --git a/contao/templates/frontend/event_filter.html.twig b/contao/templates/frontend/event_filter.html.twig index 29296d1..9b8a154 100644 --- a/contao/templates/frontend/event_filter.html.twig +++ b/contao/templates/frontend/event_filter.html.twig @@ -68,12 +68,12 @@ pointer-events: none; } - #eventfilters .widget-select.active .ts-control { + #eventfilters .widget-select.active select { outline: 3px solid currentColor; outline-offset: 3px; } - #eventfilters .ts-control:focus-within { + #eventfilters select:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; } @@ -82,23 +82,8 @@ display: none; } - #eventfilters .ts-wrapper.single .ts-control { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); - background-repeat: no-repeat; - background-position: right 0.75rem center; - background-size: 16px 12px; - padding-right: 2rem; - } - - #eventfilters .ts-wrapper.single .ts-control > input { - width: auto; - } - - - -