From a4fe9477c821a597a0c3c7c58f368945ca635f2d Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Fri, 30 Sep 2022 16:05:33 +0200 Subject: [PATCH] Fix mobile modal --- styles/ProjectModal.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/ProjectModal.module.css b/styles/ProjectModal.module.css index 3b2cfb2..1cca551 100644 --- a/styles/ProjectModal.module.css +++ b/styles/ProjectModal.module.css @@ -1,6 +1,6 @@ .modal { z-index: 99; - position: fixed; + position: absolute; top: 0; left: 0; width: 100vw; @@ -55,7 +55,7 @@ .modalClose { position: absolute; float: none; - bottom: 2%; + bottom: 1%; left: 50%; transform: translate(-50%, 0); }