Added cart item and handle empty cart state

This commit is contained in:
Luis Alvarez
2020-10-06 15:38:21 -05:00
parent 665af6e9ad
commit 35c91bca2b
5 changed files with 60 additions and 33 deletions

View File

@@ -15,7 +15,7 @@ const Sidebar: FC<Props> = ({ className, children }) => {
<div className="absolute inset-0 overflow-hidden">
<section className="absolute inset-y-0 right-0 pl-10 max-w-full flex sm:pl-16 ">
<div className="w-screen max-w-2xl">
<div className="h-full flex flex-col bg-white shadow-xl overflow-y-scroll">
<div className="h-full flex flex-col bg-white shadow-xl overflow-y-auto">
{children}
</div>
</div>