Merge branch 'fix-cookie-2' into 'develop'
fix: 🐛 animation + transition on cookie notice
See merge request ldc-web/projets/ker-chant!8
This commit is contained in:
commit
03082f6566
3 changed files with 3 additions and 3 deletions
|
|
@ -468,7 +468,7 @@ export default function ProduitsSection() {
|
|||
})}
|
||||
</div>
|
||||
{/* description */}
|
||||
<div className="relative min-h-[250px]">
|
||||
<div className="relative min-h-[250px] z-1">
|
||||
{opened && (
|
||||
<div
|
||||
className="banner-clip -mx-6 mt-10 px-12 py-16 lg:text-xl text-lg text-white md:py-12 lg:mx-0"
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@ const CookieNotice = forwardRef<HTMLDivElement, CookieNoticeProps>(
|
|||
}, [demo, open]);
|
||||
|
||||
const containerClasses = cn(
|
||||
"fixed z-50 transition-all",
|
||||
"fixed z-50 transition-[scale] transition-opacity",
|
||||
isOpen ? animationClasses.open.scale : animationClasses.close.scale,
|
||||
animationsDuration,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export default function Navbar({
|
|||
return (
|
||||
<nav
|
||||
className="
|
||||
fixed bottom-0 left-0 z-40 flex w-full items-center bg-[#1D1E1C] px-6 py-4 text-white
|
||||
fixed bottom-0 left-0 z-[100] flex w-full items-center bg-[#1D1E1C] px-6 py-4 text-white
|
||||
lg:bottom-auto lg:left-auto lg:right-12 lg:top-0 lg:w-auto lg:max-w-[760px]
|
||||
lg:gap-12 lg:rounded-b-3xl lg:px-16 lg:shadow-xl font-baloo"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue