From dda2bb6caa763c1a90690a69b3a132ec53eee06d Mon Sep 17 00:00:00 2001 From: radishzzz Date: Sat, 17 May 2025 20:24:51 +0100 Subject: [PATCH] fix: fade up animation error --- pnpm-lock.yaml | 8 -------- src/styles/animation.css | 4 +--- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 123bae3..44a2fc7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,9 +32,6 @@ importers: feed: specifier: ^5.0.1 version: 5.0.1 - gsap: - specifier: ^3.13.0 - version: 3.13.0 markdown-it: specifier: ^14.1.0 version: 14.1.0 @@ -2194,9 +2191,6 @@ packages: graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - gsap@3.13.0: - resolution: {integrity: sha512-QL7MJ2WMjm1PHWsoFrAQH/J8wUeqZvMtHO58qdekHpCfhvhSL4gSiz6vJf5EeMP0LOn3ZCprL2ki/gjED8ghVw==} - gzip-size@6.0.0: resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} engines: {node: '>=10'} @@ -6290,8 +6284,6 @@ snapshots: graphemer@1.4.0: {} - gsap@3.13.0: {} - gzip-size@6.0.0: dependencies: duplexer: 0.1.2 diff --git a/src/styles/animation.css b/src/styles/animation.css index 6fd31ba..0280955 100644 --- a/src/styles/animation.css +++ b/src/styles/animation.css @@ -45,10 +45,8 @@ html[data-theme-changing] [data-disable-theme-transition] { } } -.animation-fade-up > * { - opacity: 0; -} .animation-fade-up > *:nth-child(-n+20) { + opacity: 0; animation: fadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: calc((var(--animation-order, 0) - 1) * 0.08s); }