Skip to content

Commit

Permalink
fix: scroll animation archive
Browse files Browse the repository at this point in the history
  • Loading branch information
flornkm committed Dec 20, 2023
1 parent 59e0830 commit f3c5a55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/archive/index/+Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ export default function Page() {
return (
<div class="w-full">
<section class="w-full">
<div class="flex items-center lg:mt-6 mb-6 lg:py-2 bg-light-zinc/95 backdrop-blur-xl dark:bg-black/90 sticky top-0 lg:top-14 z-50">
<div class="flex items-center lg:mt-6 mb-6 bg-light-zinc/95 backdrop-blur-xl dark:bg-black/90 sticky top-0 lg:top-14 z-50">
<h1
class={
"transition-all tabular-nums " +
(userScrolledDown(40)
? "font-medium text-zinc-400 dark:text-zinc-600"
: "text-3xl font-semibold")
? "font-medium py-2"
: "text-3xl font-semibold lg:py-2")
}
>
Archive
Expand Down

1 comment on commit f3c5a55

@vercel
Copy link

@vercel vercel bot commented on f3c5a55 Dec 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.