fix: minor fix

(cherry picked from commit 46e6ed2e6f4cb25855e019d7a405a3ad8e80dd5e)
This commit is contained in:
Shariq Ansari 2025-07-15 12:11:08 +05:30 committed by Mergify
parent 5c3ef0158c
commit 053650ee75
2 changed files with 7 additions and 5 deletions

View File

@ -34,11 +34,13 @@
</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)"
class="flex absolute right-0 top-0 bg-surface-gray-6 rounded cursor-pointer opacity-0 group-hover:opacity-100"
>
<div class="rounded p-1 hover:bg-surface-red-3">
<FeatherIcon name="trash-2" class="size-3 text-ink-red-4" />
<div
class="rounded p-1 hover:bg-surface-gray-5"
@click="items.splice(index, 1)"
>
<FeatherIcon name="trash-2" class="size-3 text-ink-white" />
</div>
</div>
</div>

View File

@ -25,7 +25,7 @@
</Button>
<Button
v-if="editing"
:label="__('Add chart')"
:label="__('Chart')"
icon-left="plus"
@click="showAddChartModal = true"
/>