feat(options): Questions tab starts with 'Overall question' section + 2 distance options (plan P1)
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 ^<number>(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 <vibe@mistral.ai>
This commit is contained in:
parent
c4d728445d
commit
c4ec304dd0
1 changed files with 54 additions and 6 deletions
|
|
@ -401,6 +401,15 @@
|
|||
<groupdescriptionfontoptions type="buttons" category="Groups" width="6" title="Group description font options" options="normal|bold|italic|bolditalic" optionlabels="Normal|Bold|Italic|Bold italic">normal</groupdescriptionfontoptions>
|
||||
|
||||
<!-- Questions tab (options.twig tab 5): first the three columns (col 1 colors+help, col 2 border + children, col 3 checkbox color; width 4 = col-md-4 columns), then the rest full-width (width 12). -->
|
||||
<!-- Row 179 / plan P1: the Questions tab starts with the "Overall question"
|
||||
section — ONE col-md-6 column (width 6) holding the two distance options,
|
||||
followed by a full-width hr in options.twig. Values are free text in px or
|
||||
rem (default 30px) and are applied as CSS in custom_header.twig:
|
||||
questiondistance = margin-bottom of .question-container,
|
||||
questiondistancebottom = margin-top of #navigator-container (the bottom
|
||||
Previous/Next/Submit buttons). NOT house-style (structural). -->
|
||||
<questiondistance type="text" category="Questions" width="6" title="Distance between two questions (px or rem)">30px</questiondistance>
|
||||
<questiondistancebottom type="text" category="Questions" width="6" title="Distance between last question and buttons at bottom of page (px or rem)">30px</questiondistancebottom>
|
||||
<!-- Questions
|
||||
HOUSE-STYLE: the colorpicker options in this section (question
|
||||
title/background/help/help-font/border/checkbox colors) are house-style
|
||||
|
|
|
|||
Loading…
Reference in a new issue