We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00dbb60 commit 670a554Copy full SHA for 670a554
src/routes/+layout.svelte
@@ -71,7 +71,12 @@
71
<ProgressBar class="text-primary" zIndex={100} />
72
73
<header
74
- class="sticky top-0 z-40 w-full bg-background/95 shadow-sm backdrop-blur supports-[backdrop-filter]:bg-background/60"
+ class={[
75
+ "sticky top-0 z-40 w-full bg-background/95 backdrop-blur transition-shadow duration-500 supports-[backdrop-filter]:bg-background/60",
76
+ {
77
+ "shadow-sm": newsToDisplay || (scrollY.current ?? 0) >= 25
78
+ }
79
+ ]}
80
>
81
<div
82
class={[
0 commit comments