Line up the consent notice footer in 1.14.2
CMS quality / php (8.2) (push) Canceled after 0s
CMS quality / php (8.4) (push) Canceled after 0s
CMS quality / browser (push) Canceled after 0s
CMS quality / mysql (push) Canceled after 0s

"Einzeln wählen" sits on the left and the legal links on the right, on one
baseline; opened, the disclosure takes the full width and the links move
below it, right-aligned. `.consent-bar p` outranked `.consent-links` and
took the right margin away, so the links selector now carries the element.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
kantarciandClaude Fable 5.1 committed 2026-09-15 07:04:08 +02:00
1 parent 65b11563a8
commit 0aa1ff6d3e
5 files changed
+27 -4

No files matched your search

+7 -1
View File
@@ -18,6 +18,9 @@
<button class="consent-button consent-accept" type="submit" name="choice" value="all">Alle akzeptieren</button>
<button class="consent-button consent-decline" type="submit" name="choice" value="none">Nur notwendige</button>
</div>
{# Eine Zeile: links die Einzelwahl, rechts die Rechtslinks. Aufgeklappt nimmt die
Einzelwahl die ganze Breite, die Links rutschen darunter. #}
<div class="consent-foot">
<details class="consent-details">
<summary>Einzeln wählen</summary>
<ul class="consent-groups">
@@ -32,9 +35,12 @@
</ul>
<button class="consent-button consent-choice" type="submit" name="choice" value="some">Auswahl speichern</button>
</details>
{% if consent.privacyPath or consent.imprintPath %}
<p class="consent-links">
{% if consent.privacyPath %}<a href="/{{ consent.privacyPath }}">Datenschutz</a>{% endif %}
{% if consent.imprintPath %} · <a href="/{{ consent.imprintPath }}">Impressum</a>{% endif %}
{% if consent.imprintPath %}<a href="/{{ consent.imprintPath }}">Impressum</a>{% endif %}
</p>
{% endif %}
</div>
</form>
</section>