File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- < div
1+ < div
22 x-ref ="searchBarRef "
33 x-data ="{ open: false } "
44 @click.outside ="open = false; "
3232 {{ partial "utils/svg.html" "/icons/search.svg" }}
3333 </ span >
3434 </ div >
35- < div id ="search-bar-dropdown " x-show ="open " x-cloak x-ref ="dropdown "
36- class ="font-medium text-gray-400 dark:text-gray-200 bg-gray-50 dark:bg-gray-900 rounded-sm mt-4 border-1 border-gray-100 dark:border-gray-700 fixed z-[999] w-[500px] p-6 shadow-md "
35+ < div id ="search-bar-dropdown "
36+ x-show ="open "
37+ x-cloak
38+ x-ref ="dropdown "
39+ class ="hidden md:block font-medium text-gray-400 dark:text-gray-200 bg-gray-50 dark:bg-gray-900 rounded-sm mt-4 border-1 border-gray-100 dark:border-gray-700 fixed z-[999] w-[500px] p-6 shadow-md "
3740 x-effect ="if (open) {
3841 const containerRect = document.getElementById('search-bar-container').getBoundingClientRect();
3942 const rect = $refs.searchBarRef.getBoundingClientRect();
You can’t perform that action at this time.
0 commit comments