You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@layer base {
body { @apply min-h-screen bg-background/95 font-poppins text-foreground selection:bg-foreground/30;
}
main { @apply relative h-full w-full pt-24;
}
}
`
This isnt a motion.nav self closed tag there are items but I only added the nav ,
The text was updated successfully, but these errors were encountered:
<nav id="nav-bar" class="fixed left-0 top-0 z-50 grid h-24 w-full grid-cols-[0.8fr,2fr,1fr] grid-rows-1 place-content-start bg-background/90 px-6 text-sm text-foreground shadow-sm" style="transform: none;"></nav>
Motion Components add a transform:none style, Not all the motion components specificlly the ones that has 'fixed' position ( in my project )
<motion.nav initial={{ translateY: "-100%", scaleY: 0.8 }} animate={{ translateY: 0, scaleY: 1, }} transition={{ duration: 0.4, delay: 0.1, type: "spring", stiffness: 30, }} id="nav-bar" className="fixed left-0 top-0 z-50 grid h-24 w-full grid-cols-[0.8fr,2fr,1fr] grid-rows-1 place-content-start bg-background/90 px-6 text-sm text-foreground shadow-sm" >
@tailwind components;
@tailwind utilities;
@layer base {
body {
@apply min-h-screen bg-background/95 font-poppins text-foreground selection:bg-foreground/30;
}
main {
@apply relative h-full w-full pt-24;
}
}
`
This isnt a motion.nav self closed tag there are items but I only added the nav ,
The text was updated successfully, but these errors were encountered: