Refine record list item on hover effect

This commit is contained in:
Claudio Ortolina
2024-10-18 11:19:20 +01:00
parent 2b001db5b3
commit b9ea7d1419
@@ -32,7 +32,7 @@
<li
:for={{id, record} <- @streams.records}
phx-click={JS.navigate(~p"/records/#{record}")}
class="flex justify-between gap-x-6 py-5 hover:bg-gray-50 cursor-pointer"
class="flex justify-between gap-x-6 py-5 hover:bg-gray-50 px-2 -mx-2 md:px-4 md:-mx-4 rounded-lg cursor-pointer"
id={id}
>
<div class="flex min-w-0 gap-x-4 items-center">