feat(options): Images tab stacks all options in column 1 of a three-column grid (Prompt P)
options.twig: the Images pane wraps its option row in a single col-md-4 (columns 2-3 stay empty, like the Prompt M logo block but single-column); the upload block below stays full width. config.xml: the five background options are width=12 (consistent with Prompt O), so each wrapper is full width of that column and the options stack vertically. Prompt Q conditional visibility keeps working inside the column. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
365b60a9b4
commit
7e58142d35
1 changed files with 14 additions and 5 deletions
|
|
@ -226,6 +226,12 @@
|
|||
<div role="tabpanel" class="CoreThemeOptions--settingsTab tab-pane {% if loop.first %}active{% endif %}"
|
||||
id="{{ tab.id }}" aria-labelledby="tab-{{ tab.id }}">
|
||||
<div class="row action_hide_on_inherit">
|
||||
{# Prompt P: in the Images pane use the three-column grid like the logo
|
||||
block (Prompt M), but fill ONLY column 1 — all Images options stack
|
||||
vertically in this single col-md-4 (their width=12 makes each wrapper
|
||||
full width of the column). Columns 2-3 stay empty. The upload block
|
||||
below stays full width. #}
|
||||
{% if tab.category == 'Images' %}<div class="col-md-4 images-options-column">{% endif %}
|
||||
{% for key in aTabKeys %}
|
||||
{% set attr = aOptionAttributes.optionAttributes[key] ?? null %}
|
||||
{% if attr is not null %}
|
||||
|
|
@ -460,6 +466,7 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if tab.category == 'Images' %}</div>{% endif %}
|
||||
</div>
|
||||
|
||||
{% if tab.category == 'Images' %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue