From aa43c93b7b307e0799201558654d4b4f39dc90e2 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Wed, 21 Jun 2023 22:31:16 +0400 Subject: [PATCH] Dialog position bugfix; clarified modal-bg-close selector --- src/layouts/Modal.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/layouts/Modal.astro b/src/layouts/Modal.astro index 20ec2ca..7248e0a 100644 --- a/src/layouts/Modal.astro +++ b/src/layouts/Modal.astro @@ -25,6 +25,7 @@ const { id } = Astro.props; display: none; position: absolute; + left: 0; z-index: 100; width: 100vw; height: 100vh; @@ -37,7 +38,7 @@ const { id } = Astro.props; } } - .modal-bg-close { + a.modal-bg-close { display: block; position: absolute;