From f9267ba391f151ad7d41047691f81df5503a0c49 Mon Sep 17 00:00:00 2001 From: Theo Psallidas Date: Mon, 17 Mar 2025 19:13:25 +0200 Subject: [PATCH] Fix modal for smaller devices [smartphone] --- cps/static/css/main.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cps/static/css/main.css b/cps/static/css/main.css index 3afaf7a5..571f546c 100644 --- a/cps/static/css/main.css +++ b/cps/static/css/main.css @@ -511,12 +511,12 @@ input:-moz-placeholder { color: #454545; } position: fixed; top: 50%; left: 50%; - width: 630px; + transform: translate(-50%, -50%); + width: 100vw; height: auto; + max-width: 630px; z-index: 2000; visibility: hidden; - margin-left: -320px; - margin-top: -160px; } .overlay {