Line up the consent notice footer in 1.14.2
"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:
1 parent
65b11563a8
commit
0aa1ff6d3e
5 files changed
+27
-4
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user