fix: animate reveal of relatedarticles section
This commit is contained in:
parent
b6ea5bea05
commit
2709cfac18
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
"astro": "astro",
|
||||
"format:check": "prettier --check .",
|
||||
"format:write": "prettier --write .",
|
||||
"update": "npx npm-check-updates"
|
||||
"update": "npx npm-check-updates -u"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "0.9.4",
|
||||
|
@ -30,7 +30,7 @@
|
|||
"@iconify-json/mdi": "^1.2.3",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@types/node": "^22.13.8",
|
||||
"prettier": "^3.5.2",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-astro": "^0.14.1",
|
||||
"prettier-plugin-tailwindcss": "^0.6.11"
|
||||
}
|
||||
|
|
|
@ -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}`}
|
||||
|
|
Loading…
Add table
Reference in a new issue