fix: animate reveal of relatedarticles section

This commit is contained in:
Troy 2025-03-03 16:00:47 +00:00
parent b6ea5bea05
commit 2709cfac18
Signed by: troy
GPG key ID: DFC06C02ED3B4711
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ const next = items[(index + 1) % items.length];
{
items.length > 1 ? (
<div class="mx-auto flex w-full flex-col-reverse items-center justify-between gap-4 md:flex-row">
<div class="animate-reveal mx-auto flex w-full flex-col-reverse items-center justify-between gap-4 opacity-0 [animation-delay:0.1s] md:flex-row">
<Button
href={`/${prev.collection}/${prev.slug}`}
link={`Previous: ${prev.data.title}`}