fix: move group class to direct parent of interactive elements in post card
All checks were successful
Deploy Theme / deploy (push) Successful in 14s
All checks were successful
Deploy Theme / deploy (push) Successful in 14s
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<article class="post-grid-item opacity-0 group h-80">
|
<article class="post-grid-item opacity-0 h-80">
|
||||||
<a href="{{url}}" class="block h-full relative bg-[var(--bg-secondary)] rounded-xl shadow-lg overflow-hidden transition-all duration-500 hover:shadow-2xl hover:-translate-y-2 hover:ring-2 hover:ring-[var(--brand-primary)]/50">
|
<a href="{{url}}" class="group block h-full relative bg-[var(--bg-secondary)] rounded-xl shadow-lg overflow-hidden transition-all duration-500 hover:shadow-2xl hover:-translate-y-2 hover:ring-2 hover:ring-[var(--brand-primary)]/50">
|
||||||
{{#if feature_image}}
|
{{#if feature_image}}
|
||||||
<img
|
<img
|
||||||
class="absolute inset-0 w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-110"
|
class="absolute inset-0 w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-110"
|
||||||
|
|||||||
Reference in New Issue
Block a user