From a2035b658be31aa7fb0956c0355e6928028040c6 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Wed, 5 Aug 2026 20:32:22 +0200 Subject: [PATCH] web custom links try layout again --- src/api/templates/contact.html | 57 ++++++++++++---------------------- 1 file changed, 20 insertions(+), 37 deletions(-) diff --git a/src/api/templates/contact.html b/src/api/templates/contact.html index 85c139b..4572abe 100644 --- a/src/api/templates/contact.html +++ b/src/api/templates/contact.html @@ -48,32 +48,24 @@ text-decoration: underline; } - .contact-layout { - display: flex; - gap: 1.5rem; - align-items: flex-start; - } - .contact-card { background: #fff; border-radius: 8px; padding: 1rem 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); - flex: 1; - min-width: 0; } .custom-links-box { + position: fixed; + top: 2rem; + right: 2rem; width: 280px; - flex-shrink: 0; background: #fff; border-radius: 8px; padding: 1rem 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); - } - - .links-spacer { - flex: 1; + max-height: calc(100vh - 4rem); + overflow-y: auto; } .quicklink-item { @@ -263,14 +255,9 @@ } @media (max-width: 1100px) { - .custom-links-box, - .links-spacer { + .custom-links-box { display: none; } - - .contact-layout { - display: block; - } } @@ -279,10 +266,7 @@

Kontakte

← Zurück zur Liste -
- - -
+
{{ contact.full_name or '(Kein Name)' }}
@@ -402,22 +386,21 @@
Notizen
{{ contact.notes }}
- {% endif %} -
- - {% if custom_links %} - {% endif %}
+ + {% if custom_links %} + + {% endif %}
{% if contact.photo_url %}