From 2fcb421625b03923a294cdc64effc7f418830620 Mon Sep 17 00:00:00 2001 From: Megha-Dev-19 Date: Mon, 22 Apr 2024 21:22:38 +0530 Subject: [PATCH] fix modal zindex --- apps/astraplusplus/widget/Layout/Modal.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/astraplusplus/widget/Layout/Modal.jsx b/apps/astraplusplus/widget/Layout/Modal.jsx index d37d6c8..50fc003 100644 --- a/apps/astraplusplus/widget/Layout/Modal.jsx +++ b/apps/astraplusplus/widget/Layout/Modal.jsx @@ -17,11 +17,15 @@ const Overlay = styled.div` display: grid; place-items: center; overflow-y: auto; - z-index: 99999; + z-index: 999; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); + + @media (max-width: 768px) { + top: 75px; + } `; const Content = styled.div`