From c4ec304dd05a16622a51064eac4c1861a3b17f49 Mon Sep 17 00:00:00 2001 From: Tammo ter Hark Date: Sun, 29 Nov 2026 14:27:52 +0100 Subject: [PATCH] feat(options): Questions tab starts with 'Overall question' section + 2 distance options (plan P1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Questions pane now has h2 'Questions' + intro paragraph, then an h3 'Overall question' section rendered as ONE col-md-6 column holding two new text options — questiondistance ('Distance between two questions') and questiondistancebottom ('Distance between last question and buttons at bottom of page'), both default 30px and accepting px or rem — followed by a full-width hr before the existing 3-column grid. custom_header.twig applies them as CSS: .question-container margin-bottom and #navigator-container margin-top, guarded to ^(px|rem)$ with fallback 30px. config.xml: both keys first in the Questions category, width=6 (row 160 rule). All variants rebuilt + example config synced. jsdom: new row-179 assertions, suite 8/8; live survey page emits both rules at 30px. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- config.xml | 9 +++++++ options/options.twig | 25 +++++++++++++++---- .../example/respondage_respondage/config.xml | 11 +++++++- views/subviews/header/custom_header.twig | 15 +++++++++++ 4 files changed, 54 insertions(+), 6 deletions(-) diff --git a/config.xml b/config.xml index 91e787c..05429fd 100644 --- a/config.xml +++ b/config.xml @@ -401,6 +401,15 @@ normal + + 30px + 30px + + 30px + 30px