Restyle all grid-like items to just have a shadow on hover

This commit is contained in:
Claudio Ortolina
2025-11-22 11:51:41 +00:00
parent b350193527
commit f297c49097
4 changed files with 14 additions and 30 deletions
@@ -230,7 +230,7 @@ defmodule MusicLibraryWeb.RecordComponents do
>
<.record_cover
record={record}
class="aspect-square object-cover rounded-lg hover:opacity-85 hover:animate-pulse hover:outline-2 outline-red-500"
class="aspect-square object-cover rounded-lg hover:shadow-lg/20"
width={460}
/>
<span
@@ -430,7 +430,7 @@ defmodule MusicLibraryWeb.RecordComponents do
>
<.record_cover
record={record}
class="aspect-square object-cover rounded-lg hover:opacity-85 hover:animate-pulse hover:outline-2 outline-red-500"
class="aspect-square object-cover rounded-lg hover:shadow-lg/20"
width={300}
/>
<span class="absolute top-2 right-2 rounded-full px-2 py-0.5 text-xs font-medium bg-zinc-900/75 text-white backdrop-blur-sm">