Make delete button red

Not sure if this is the correct Tailwind approach though.
This commit is contained in:
Claudio Ortolina
2024-09-24 22:54:26 +01:00
parent f6d2bcf3fd
commit cebc50e107
@@ -6,7 +6,7 @@
<.button>Edit Metadata</.button>
</.link>
<.link phx-click={JS.push("delete", value: %{id: @record.id})} data-confirm="Are you sure?">
<.button class="bg-red-900 hover:bg-red-700">Delete record</.button>
<.button class="!bg-red-900 hover:!bg-red-700">Delete record</.button>
</.link>
</:actions>
</.header>