docs: redesign search (#12628)
* docs: redesign search * add shadow in dark mode
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user