Skip to content

Commit

Permalink
Shorten header animation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrossy committed Oct 7, 2024
1 parent c1accbe commit 774f856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/nav/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function Header({ pathName }: { pathName: string }) {

return (
<header
className={`z-10 sticky top-0 px-2 sm:px-6 lg:px-12 w-full bg-blue-500 transition-all ease-in-out duration-300 ${
className={`z-10 sticky top-0 px-2 sm:px-6 lg:px-12 w-full bg-blue-500 transition-all ease-in-out duration-200 ${
animateHeader ? 'py-1 border-b border-white' : 'py-4 sm:py-5'
}`}
>
Expand Down

0 comments on commit 774f856

Please sign in to comment.