Fix shadows on hover in record grid

This commit is contained in:
Claudio Ortolina
2025-12-15 09:45:58 +03:00
parent 8aa6f2a623
commit c5a77fd742
@@ -225,12 +225,12 @@ defmodule MusicLibraryWeb.RecordComponents do
> >
<li :for={{id, record} <- @records} id={id} class="relative"> <li :for={{id, record} <- @records} id={id} class="relative">
<div <div
class="relative cursor-pointer" class="relative cursor-pointer group"
phx-click={JS.navigate(@record_show_path.(record))} phx-click={JS.navigate(@record_show_path.(record))}
> >
<.record_cover <.record_cover
record={record} record={record}
class="aspect-square object-cover rounded-lg hover:shadow-lg/20" class="aspect-square object-cover rounded-lg group-hover:shadow-lg/20"
width={460} width={460}
/> />
<span <span