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

View file

@ -1,7 +1,8 @@
<div <div
id="search-wrapper" 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 }}" data-url="{{ "" | absLangURL }}"
style="z-index:500"
> >
<div <div
id="search-modal" id="search-modal"