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;