From 83c632f2dc43657c30a4b6ad6a41b2eb977ff7c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Mummert?= Date: Sun, 1 Mar 2026 11:34:24 +0100 Subject: [PATCH] Tune FilePond panel aspect ratios --- contao/templates/frontend/event_edit.html.twig | 2 ++ contao/templates/frontend/organization_edit.html.twig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/contao/templates/frontend/event_edit.html.twig b/contao/templates/frontend/event_edit.html.twig index 09623ae..e4021cc 100644 --- a/contao/templates/frontend/event_edit.html.twig +++ b/contao/templates/frontend/event_edit.html.twig @@ -232,6 +232,8 @@ storeAsFile: true, allowMultiple: false, allowReplace: true, + stylePanelAspectRatio: 0.6666667, + styleItemPanelAspectRatio: 0.6666667, credits: false, acceptedFileTypes: ['image/*'], allowImageResize: true, diff --git a/contao/templates/frontend/organization_edit.html.twig b/contao/templates/frontend/organization_edit.html.twig index c2a09ce..6323dce 100644 --- a/contao/templates/frontend/organization_edit.html.twig +++ b/contao/templates/frontend/organization_edit.html.twig @@ -93,6 +93,8 @@ storeAsFile: true, allowMultiple: false, allowReplace: true, + stylePanelAspectRatio: 1, + styleItemPanelAspectRatio: 1, credits: false, acceptedFileTypes: ['image/*'], allowImageResize: true,