Add cursor pointer for accordion header

This commit is contained in:
philipp lang 2024-06-18 21:49:14 +02:00
parent bf94349dca
commit 41adb7ecb0
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<box size="none" class="opacity-[0.8] hover:opacity-[1.0]" :type="type">
<div href="#" @click.prevent="emit('update:model-value', modelValue === index ? -1 : index)" class="flex items-center justify-between p-2">
<div href="#" @click.prevent="emit('update:model-value', modelValue === index ? -1 : index)" class="flex items-center justify-between p-2 cursor-pointer">
<div v-text="title"></div>
<div class="flex items-center space-x-2">
<slot name="buttons"></slot>