docs: redesign search (#12628)

* docs: redesign search

* add shadow in dark mode
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-05-28 10:01:04 +03:00
1 parent d155f492be
commit 9b3218885c
13 files changed
+157 -200

No files matched your search

@@ -87,7 +87,7 @@ export const useSearchNavigation = ({
if (isInput) {
// go to the first data-hit item
const nextItem = modalRef.current?.querySelector(
"[data-hit]"
"[data-index]:not(.hidden) [data-hit]"
) as HTMLElement
nextItem?.focus()
} else {