normalize transition durations

This commit is contained in:
Julián Benegas
2020-10-21 19:22:27 -03:00
parent c22789176d
commit 5ef510c364
12 changed files with 24 additions and 18 deletions

View File

@@ -39,10 +39,8 @@ const Layout: FC<Props> = ({ children, pageProps }) => {
<div className={cn(s.root)}>
<header
className={cn(
'sticky top-0 bg-primary z-40 transition-shadow duration-200',
{
'shadow-magical': hasScrolled,
}
'sticky top-0 bg-primary z-40 transition-all duration-150',
{ 'shadow-magical': hasScrolled }
)}
>
<Container>