docs: redesign search (#12628)

* docs: redesign search

* add shadow in dark mode
This commit is contained in:
Shahed Nasser
2025-05-28 10:01:04 +03:00
committed by GitHub
parent d155f492be
commit 9b3218885c
13 changed files with 157 additions and 200 deletions
@@ -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 {