diff --git a/src/api/templates/contact.html b/src/api/templates/contact.html index ca142b2..fa88da5 100644 --- a/src/api/templates/contact.html +++ b/src/api/templates/contact.html @@ -190,6 +190,36 @@ font-style: italic; font-size: 0.875rem; } + + .photo-dialog { + border: none; + border-radius: 12px; + padding: 0; + max-width: 90vw; + max-height: 90vh; + background: transparent; + } + + .photo-dialog::backdrop { + background: rgba(0, 0, 0, 0.85); + } + + .photo-dialog img { + display: block; + max-width: 90vw; + max-height: 85vh; + border-radius: 8px; + object-fit: contain; + } + + .contact-photo { + cursor: pointer; + transition: transform 0.15s ease; + } + + .contact-photo:hover { + transform: scale(1.03); + } @@ -211,7 +241,7 @@
{% if contact.photo_url %} - Foto + Foto {% endif %} {% if show_all and contact.account %} Account: {{ contact.account }} @@ -320,5 +350,11 @@ {% endif %}
+ + {% if contact.photo_url %} + + Foto + + {% endif %}