Skip to content

Commit 7a3d7b1

Browse files
Fix z-index issue in search modal and clean up template structure (#1305)
* Fix z-index issue in search modal and clean up template structure * back to reformat * wip --------- Co-authored-by: Dries Vints <[email protected]>
1 parent cb7a41b commit 7a3d7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/_partials/_search.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div x-data="searchConfig()" x-init="$watch('searchVisible', value => toggle())" x-show="searchVisible" x-cloak
22
class="fixed inset-0 z-50 overflow-y-auto p-4 sm:p-6 md:p-20" role="dialog" aria-modal="true">
3-
<div class="fixed inset-0 bg-gray-700 bg-opacity-50 transition-opacity" aria-hidden="true"></div>
3+
<div class="fixed inset-0 bg-gray-700 opacity-50 transition-opacity -z-10" aria-hidden="true"></div>
44

55
<div @click.outside="searchVisible = false"
66
class="mx-auto max-w-xl transform overflow-hidden rounded-xl bg-white shadow-2xl ring-1 ring-black ring-opacity-5 transition-all">

0 commit comments

Comments
 (0)