Layout Changes

This commit is contained in:
Belen Curcio
2020-10-13 08:53:05 -03:00
parent d2a22a50b3
commit 5d6804c7af
3 changed files with 6 additions and 6 deletions

View File

@@ -24,8 +24,8 @@ const CoreLayout: FC<Props> = ({ className, children }) => {
/>
<Container>
<Navbar />
<main className={s.main}>{children}</main>
</Container>
<main className={s.main}>{children}</main>
<Footer />
<Sidebar show={displaySidebar} close={closeSidebar}>
<CartSidebarView />
@@ -36,9 +36,9 @@ const CoreLayout: FC<Props> = ({ className, children }) => {
const Layout: FC<Props> = (props) => (
<CommerceProvider locale="en-us">
<UIProvider>
<CoreLayout {...props} />
</UIProvider>
<UIProvider>
<CoreLayout {...props} />
</UIProvider>
</CommerceProvider>
)

View File

@@ -73,7 +73,7 @@ const Sidebar: FC<Props> = ({ className, children, show = true, close }) => {
leaveTo="translate-x-full"
>
<div className="h-full w-screen max-w-md">
<div className="h-full flex flex-col text-primary bg-primary shadow-xl overflow-y-auto">
<div className="h-full flex flex-col text-primary bg-primary shadow-xl overflow-y-auto">
{children}
</div>
</div>