From 677bba308d650d66638e9511e02210f0ec75812b Mon Sep 17 00:00:00 2001 From: Bel Curcio Date: Mon, 7 Jun 2021 00:59:52 -0300 Subject: [PATCH] Search now with Geist Colors --- components/cart/CartItem/CartItem.module.css | 1 + components/cart/CartItem/CartItem.tsx | 2 +- .../SidebarLayout/SidebarLayout.module.css | 4 ++-- components/ui/Sidebar/Sidebar.module.css | 1 - pages/search.tsx | 24 +++++++++---------- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/components/cart/CartItem/CartItem.module.css b/components/cart/CartItem/CartItem.module.css index af094ba99..dd43314fb 100644 --- a/components/cart/CartItem/CartItem.module.css +++ b/components/cart/CartItem/CartItem.module.css @@ -23,6 +23,7 @@ height: 100%; left: 30% !important; top: 30% !important; + z-index: 1; } .productName { diff --git a/components/cart/CartItem/CartItem.tsx b/components/cart/CartItem/CartItem.tsx index e51274e0f..a59024e06 100644 --- a/components/cart/CartItem/CartItem.tsx +++ b/components/cart/CartItem/CartItem.tsx @@ -80,7 +80,7 @@ const CartItem = ({ {...rest} >
-
+
closeSidebarIfPresent()} diff --git a/components/common/SidebarLayout/SidebarLayout.module.css b/components/common/SidebarLayout/SidebarLayout.module.css index 3bab284fb..0fb93231d 100644 --- a/components/common/SidebarLayout/SidebarLayout.module.css +++ b/components/common/SidebarLayout/SidebarLayout.module.css @@ -1,11 +1,11 @@ .root { - @apply relative h-full flex flex-col min-h-full w-full; + @apply relative h-full flex flex-col min-h-full w-full overflow-y-auto; } .header { @apply sticky top-0 pl-4 py-4 pr-6 flex items-center justify-between - bg-accent-0 box-border w-full; + bg-accent-0 box-border w-full z-10; min-height: 66px; } diff --git a/components/ui/Sidebar/Sidebar.module.css b/components/ui/Sidebar/Sidebar.module.css index 76ebb4d97..b052fd02c 100644 --- a/components/ui/Sidebar/Sidebar.module.css +++ b/components/ui/Sidebar/Sidebar.module.css @@ -4,7 +4,6 @@ .sidebar { @apply h-full flex flex-col text-base bg-accent-0 shadow-xl overflow-y-auto; - right: 0; } .backdrop { diff --git a/pages/search.tsx b/pages/search.tsx index b9a9e5094..d163a9150 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -96,7 +96,7 @@ export default function Search({