mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 13:41:22 +00:00
normalize transition durations
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user