update search results
This commit is contained in:
@@ -68,7 +68,7 @@ const resultsRefs = ref<InstanceType<typeof SearchResult>[]>([])
|
|||||||
/>
|
/>
|
||||||
<div class="z-1000 dropdown absolute left-0 right-0 top-[100%]" v-if="active">
|
<div class="z-1000 dropdown absolute left-0 right-0 top-[100%]" v-if="active">
|
||||||
<ul tabindex="0" class="menu mt-1 w-full rounded-md bg-base-100 p-2 text-black shadow">
|
<ul tabindex="0" class="menu mt-1 w-full rounded-md bg-base-100 p-2 text-black shadow">
|
||||||
<div class="max-h-[320px] w-full overflow-y-scroll">
|
<div class="max-h-[320px] w-full overflow-y-auto">
|
||||||
<template v-if="results.length > 0">
|
<template v-if="results.length > 0">
|
||||||
<SearchResult
|
<SearchResult
|
||||||
v-for="result in results"
|
v-for="result in results"
|
||||||
|
|||||||
Reference in New Issue
Block a user