From d3c99764633c2ed2393607fe32d2300c621e1f9e Mon Sep 17 00:00:00 2001 From: StephDietz Date: Thu, 6 Jul 2023 21:15:24 -0500 Subject: [PATCH] begin to fix light/dark mode and fix some overlap clicking issues --- components/cart/delete-item-button.tsx | 2 +- components/cart/edit-item-quantity-button.tsx | 4 +- components/cart/modal.tsx | 43 ++++++++++--------- components/icons/cart.tsx | 9 ++-- tailwind.config.js | 3 +- 5 files changed, 30 insertions(+), 31 deletions(-) diff --git a/components/cart/delete-item-button.tsx b/components/cart/delete-item-button.tsx index 1c4366036..7fc4d98d3 100644 --- a/components/cart/delete-item-button.tsx +++ b/components/cart/delete-item-button.tsx @@ -28,7 +28,7 @@ export default function DeleteItemButton({ item }: { item: CartItem }) { }} disabled={isPending} className={clsx( - 'ease flex h-4 w-4 items-center justify-center rounded-full bg-base-gray-900 transition-all duration-200 ', + 'ease flex h-[17px] w-[17px] items-center justify-center rounded-full bg-base-gray-900 transition-all duration-200 ', { 'cursor-not-allowed px-0': isPending } diff --git a/components/cart/edit-item-quantity-button.tsx b/components/cart/edit-item-quantity-button.tsx index 24c22e169..fe6d899d1 100644 --- a/components/cart/edit-item-quantity-button.tsx +++ b/components/cart/edit-item-quantity-button.tsx @@ -52,9 +52,9 @@ export default function EditItemQuantityButton({ {isPending ? ( ) : type === 'plus' ? ( - + ) : ( - + )} ); diff --git a/components/cart/modal.tsx b/components/cart/modal.tsx index 0b3dc4352..9ac5061f5 100644 --- a/components/cart/modal.tsx +++ b/components/cart/modal.tsx @@ -66,7 +66,7 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU leaveFrom="opacity-100 backdrop-blur-[.5px]" leaveTo="opacity-0 backdrop-blur-none" > -