feat: misc improvements

This commit is contained in:
2025-03-18 23:27:17 +00:00
parent fe1a32f31b
commit 1191cdd95c
15 changed files with 264 additions and 68 deletions

View File

@ -7,6 +7,7 @@ const category = getCurrentInstance()?.parent?.parent?.parent?.parent; // yes in
const props = defineProps({
title: String,
tooltip: String,
});
const searched = computed(() => {
@ -24,7 +25,15 @@ const searched = computed(() => {
<template>
<div v-if="searched" class="flex flex-row w-full p-2 gap-2 items-center">
<div class="grow">{{ title }}</div>
<div class="grow">
<span>{{ title }}</span>
<span
v-if="tooltip"
class="pi pi-question-circle ml-2"
v-tooltip="tooltip"
></span>
</div>
<slot />
</div>
</template>