Skip to content

Commit d455c3e

Browse files
authored
fix: fixes unclickable items in search (#3540)
1 parent 35fd47d commit d455c3e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

assets/components/FuzzySearchModal.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@
1414
:placeholder="$t('placeholder.search-containers')"
1515
/>
1616
<form method="dialog">
17-
<button class="swap swap-rotate hover:swap-active">
17+
<button class="swap hover:swap-active">
1818
<mdi:keyboard-esc class="swap-off" />
1919
<mdi:close class="swap-on" />
2020
</button>
2121
</form>
2222
</div>
2323
<div
2424
class="dropdown-content bg-base-100 relative! mt-2 max-h-[calc(100dvh-20rem)] w-full overflow-y-scroll rounded-md border-y-8 border-transparent px-2"
25+
tabindex="0"
2526
v-if="results.length"
2627
>
27-
<ul tabindex="0" class="menu w-auto">
28+
<ul class="menu w-auto">
2829
<li v-for="(result, index) in data" ref="listItems">
2930
<a
3031
class="grid auto-cols-max grid-cols-[min-content_auto] gap-2 py-4"
@@ -186,6 +187,7 @@ function selected(item: Item) {
186187
}
187188
close();
188189
}
190+
189191
function addColumn(container: { id: string }) {
190192
pinnedStore.pinContainer(container);
191193
close();
@@ -212,6 +214,7 @@ function matchedName({ item, matches = [] }: FuseResult<Item>) {
212214
</script>
213215

214216
<style scoped>
217+
@import "@/main.css" reference;
215218
:deep(mark) {
216219
@apply bg-transparent text-inherit underline underline-offset-2;
217220
}

0 commit comments

Comments
 (0)