Dialog position bugfix; clarified modal-bg-close selector

This commit is contained in:
DarkCat09 2023-06-21 22:31:16 +04:00
parent f5e7f2326e
commit aa43c93b7b

View file

@ -25,6 +25,7 @@ const { id } = Astro.props;
display: none; display: none;
position: absolute; position: absolute;
left: 0;
z-index: 100; z-index: 100;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
@ -37,7 +38,7 @@ const { id } = Astro.props;
} }
} }
.modal-bg-close { a.modal-bg-close {
display: block; display: block;
position: absolute; position: absolute;