Merge branch 'fix-cookie-4' into 'develop'
fix: 🐛 z-index not good between cookie notice and navbar
See merge request ldc-web/projets/ker-chant!10
This commit is contained in:
commit
96e75c3de3
2 changed files with 3 additions and 3 deletions
|
|
@ -341,7 +341,7 @@ const CookieNotice = forwardRef<HTMLDivElement, CookieNoticeProps>(
|
|||
}, [demo, open]);
|
||||
|
||||
const containerClasses = cn(
|
||||
"fixed z-50 transition-[opacity,scale,rotate,background-color]",
|
||||
"fixed z-600 transition-[opacity,scale,rotate,background-color]",
|
||||
isOpen ? animationClasses.open.scale : animationClasses.close.scale,
|
||||
animationsDuration,
|
||||
);
|
||||
|
|
@ -400,7 +400,7 @@ const CookieNotice = forwardRef<HTMLDivElement, CookieNoticeProps>(
|
|||
.ucFirst()
|
||||
.value()}
|
||||
className={cn(
|
||||
"text-sm z-[500] shadow-lg fixed transition-[opacity,scale,rotate,background-color]",
|
||||
"text-sm z-300 shadow-lg fixed transition-[opacity,scale,rotate,background-color]",
|
||||
bannerButtonPosition,
|
||||
!isOpen
|
||||
? animationClasses.open[animationButton]
|
||||
|
|
|
|||
|
|
@ -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-400 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