From f9439defcef0deae64a2fdb8d970a4e9bec1c23a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Mummert?= Date: Sun, 24 May 2026 16:44:23 +0200 Subject: [PATCH] Adjust survey layout spacing --- contao/templates/frontend/_survey_assets.html.twig | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/contao/templates/frontend/_survey_assets.html.twig b/contao/templates/frontend/_survey_assets.html.twig index 7198a0e..5a69e28 100644 --- a/contao/templates/frontend/_survey_assets.html.twig +++ b/contao/templates/frontend/_survey_assets.html.twig @@ -41,7 +41,8 @@ align-items: center; gap: 1.5rem; justify-content: center; - margin: 0 0 1.75rem; + width: min(1400px, calc(100% - 2em)); + margin: 0 auto 1.75rem; padding: 1rem 1.25rem 0.5rem; } @@ -64,6 +65,10 @@ } .survey-shell { + width: min(1400px, calc(100% - 2em)); + max-width: 1400px; + margin-left: auto; + margin-right: auto; color: var(--survey-black); font-family: "PT Sans Narrow", sans-serif; letter-spacing: 0.3px; @@ -350,6 +355,13 @@ } } + @media (min-width: 1440px) { + .survey-brand-strip, + .survey-shell { + width: min(1400px, calc(100% - 20em)); + } + } + @media (max-width: 767px) { .survey-brand-strip { padding: 0.75rem 0.75rem 0.25rem;