Fixed z-index of search modal

This commit is contained in:
Nuno Coração 2022-11-06 23:11:00 +00:00
parent b4e4f46ed9
commit b6d57a2ed9
2 changed files with 8 additions and 15 deletions

View file

@ -1425,14 +1425,6 @@ select {
top: 5rem;
}
.z-\[500\] {
z-index: 500;
}
.z-50 {
z-index: 50;
}
.z-10 {
z-index: 10;
}
@ -1503,14 +1495,18 @@ select {
margin-bottom: 3rem;
}
.mt-0 {
margin-top: 0px;
.mt-5 {
margin-top: 1.25rem;
}
.mt-12 {
margin-top: 3rem;
}
.mt-0 {
margin-top: 0px;
}
.mb-5 {
margin-bottom: 1.25rem;
}
@ -1523,10 +1519,6 @@ select {
margin-top: 1.5rem;
}
.mt-5 {
margin-top: 1.25rem;
}
.mt-1 {
margin-top: 0.25rem;
}

View file

@ -1,7 +1,8 @@
<div
id="search-wrapper"
class="invisible z-[500] fixed inset-0 z-50 flex h-screen w-screen cursor-default flex-col bg-neutral-500/50 p-4 backdrop-blur-sm dark:bg-neutral-900/50 sm:p-6 md:p-[10vh] lg:p-[12vh]"
class="invisible fixed inset-0 flex h-screen w-screen cursor-default flex-col bg-neutral-500/50 p-4 backdrop-blur-sm dark:bg-neutral-900/50 sm:p-6 md:p-[10vh] lg:p-[12vh]"
data-url="{{ "" | absLangURL }}"
style="z-index:500"
>
<div
id="search-modal"