fix: move group class to direct parent of interactive elements in post card
All checks were successful
Deploy Theme / deploy (push) Successful in 14s

This commit is contained in:
2026-02-22 08:33:13 +01:00
parent d7961af07a
commit 0b01773cec

View File

@@ -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"