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 {