4
0
forked from crowetic/commerce

Is this the problem

This commit is contained in:
Belen Curcio 2020-10-05 19:16:49 -03:00
parent 2f3885b895
commit 24f6ff792a
2 changed files with 23 additions and 16 deletions

View File

@ -1,4 +1,7 @@
.root { .root {
}
.container {
@apply flex justify-between items-center flex-row px-6 h-20 relative; @apply flex justify-between items-center flex-row px-6 h-20 relative;
} }

View File

@ -12,9 +12,11 @@ interface Props {
const Navbar: FC<Props> = ({ className }) => { const Navbar: FC<Props> = ({ className }) => {
const rootClassName = cn(s.root, className) const rootClassName = cn(s.root, className)
return ( return (
<Container className={rootClassName}> <div className={rootClassName}>
<Container>
<div className={s.container}>
<Link href="/"> <Link href="/">
<span className="inline-block cursor-pointer"> <span className="flex-0 cursor-pointer">
<Logo /> <Logo />
</span> </span>
</Link> </Link>
@ -27,7 +29,9 @@ const Navbar: FC<Props> = ({ className }) => {
<Searchbar /> <Searchbar />
</div> </div>
<UserNav /> <UserNav />
</div>
</Container> </Container>
</div>
) )
} }