Make delete button red
Not sure if this is the correct Tailwind approach though.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user