update search results

This commit is contained in:
2023-05-23 21:53:55 +02:00
parent 65694e530c
commit f0d302a46a

View File

@@ -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">
<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">
<SearchResult
v-for="result in results"