From 3176e6e414404c9616fc73d5496ca4e07339e8f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Mummert?= Date: Sun, 1 Mar 2026 11:52:43 +0100 Subject: [PATCH] Fix FilePond label interaction CSS conflicts --- .../templates/frontend/event_edit.html.twig | 21 +++++++++++++++++++ .../frontend/organization_edit.html.twig | 21 +++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/contao/templates/frontend/event_edit.html.twig b/contao/templates/frontend/event_edit.html.twig index e4021cc..4b4a9e2 100644 --- a/contao/templates/frontend/event_edit.html.twig +++ b/contao/templates/frontend/event_edit.html.twig @@ -15,6 +15,27 @@ width: 400px; height: 600px; } + + .module-event-edit .filepond--root .filepond--drop-label { + height: 100%; + inset: 0; + } + + .module-event-edit .filepond--root .filepond--drop-label label { + display: block; + width: auto; + float: none; + margin: 0; + padding: 0; + text-align: center; + font-weight: inherit; + } + + .module-event-edit .filepond--root .filepond--drop-label, + .module-event-edit .filepond--root .filepond--drop-label label, + .module-event-edit .filepond--root .filepond--file-action-button { + pointer-events: auto; + } diff --git a/contao/templates/frontend/organization_edit.html.twig b/contao/templates/frontend/organization_edit.html.twig index 6323dce..28fab59 100644 --- a/contao/templates/frontend/organization_edit.html.twig +++ b/contao/templates/frontend/organization_edit.html.twig @@ -13,6 +13,27 @@ width: 400px; height: 400px; } + + .module-organization-edit .filepond--root .filepond--drop-label { + height: 100%; + inset: 0; + } + + .module-organization-edit .filepond--root .filepond--drop-label label { + display: block; + width: auto; + float: none; + margin: 0; + padding: 0; + text-align: center; + font-weight: inherit; + } + + .module-organization-edit .filepond--root .filepond--drop-label, + .module-organization-edit .filepond--root .filepond--drop-label label, + .module-organization-edit .filepond--root .filepond--file-action-button { + pointer-events: auto; + }