fix: added remove chart button

This commit is contained in:
Shariq Ansari 2025-07-14 17:37:36 +05:30
parent 0f06715d0c
commit 139bcb101c

View File

@ -31,6 +31,15 @@
:editing="editing"
/>
</div>
<div
v-if="editing"
class="absolute right-0 top-0 bg-surface-red-4 border border-outline-red-2 rounded cursor-pointer opacity-0 group-hover:opacity-100"
@click="items.splice(index, 1)"
>
<div class="rounded p-1 hover:bg-surface-red-3">
<FeatherIcon name="trash-2" class="size-3 text-ink-red-4" />
</div>
</div>
</div>
</template>
</GridLayout>