From 895027d8d2cd94e485039b12a64dff1792ed448f Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Wed, 5 Aug 2026 17:50:29 +0200 Subject: [PATCH] web clickable photo centered --- src/api/templates/contact.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/api/templates/contact.html b/src/api/templates/contact.html index fa88da5..8f8c8d0 100644 --- a/src/api/templates/contact.html +++ b/src/api/templates/contact.html @@ -194,10 +194,14 @@ .photo-dialog { border: none; border-radius: 12px; - padding: 0; + padding: 10px; max-width: 90vw; max-height: 90vh; background: transparent; + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } .photo-dialog::backdrop {