diff --git a/resources/ts/front/Components/ProduitsSection.tsx b/resources/ts/front/Components/ProduitsSection.tsx index 05ca8c2..05f06f4 100644 --- a/resources/ts/front/Components/ProduitsSection.tsx +++ b/resources/ts/front/Components/ProduitsSection.tsx @@ -468,7 +468,7 @@ export default function ProduitsSection() { })} {/* description */} -
+
{opened && (
( }, [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, ); diff --git a/resources/ts/front/partials/Navbar.tsx b/resources/ts/front/partials/Navbar.tsx index 5d18f34..570cc3c 100644 --- a/resources/ts/front/partials/Navbar.tsx +++ b/resources/ts/front/partials/Navbar.tsx @@ -49,7 +49,7 @@ export default function Navbar({ return (