mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 12:11:22 +00:00
Fix z-indexes.
This commit is contained in:
parent
22a9f4ffda
commit
5e19e3d727
@ -14,7 +14,6 @@
|
||||
transform: translateY(-100%);
|
||||
transition: transform 0.2s ease 0.1s, visibility 0.3s;
|
||||
visibility: hidden;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.navMenu.isOpen {
|
||||
|
@ -3,7 +3,7 @@
|
||||
}
|
||||
|
||||
.navContainer {
|
||||
@apply bg-secondary;
|
||||
@apply bg-secondary relative z-40;
|
||||
height: 50px;
|
||||
}
|
||||
.searchContainer {
|
||||
@ -11,7 +11,7 @@
|
||||
}
|
||||
|
||||
.nav {
|
||||
@apply relative flex flex-row justify-between;
|
||||
@apply relative flex flex-row justify-between z-40;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,6 @@ const Navbar: FC<NavbarProps> = ({ links }) => {
|
||||
<Logo />
|
||||
</a>
|
||||
</Link>
|
||||
<MobileNavMenu links={links} isOpen={isMenuOpen} />
|
||||
<DesktopNavMenu links={links} />
|
||||
</div>
|
||||
<MenuButton
|
||||
@ -49,6 +48,7 @@ const Navbar: FC<NavbarProps> = ({ links }) => {
|
||||
</Container>
|
||||
</div>
|
||||
)}
|
||||
<MobileNavMenu links={links} isOpen={isMenuOpen} />
|
||||
</NavbarRoot>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user