From 5c3e03535abc8a4c2319efeb65c4cf9dc82caaf0 Mon Sep 17 00:00:00 2001 From: Arman Date: Fri, 18 Oct 2024 17:04:12 -0400 Subject: [PATCH] Made cart items responsive for mobile --- src/app/order/dynamic.tsx | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/app/order/dynamic.tsx b/src/app/order/dynamic.tsx index a532068..cdd9fc3 100644 --- a/src/app/order/dynamic.tsx +++ b/src/app/order/dynamic.tsx @@ -51,19 +51,23 @@ function CartItem({ product }: { product: CartItem }) {

{product.name}

-

{product.description}

+

{product.description}

-

{product.quantity}

-
-

${product.price} each

-
-
-

- ${Number(product.price) * product.quantity} -

+
+

{product.quantity}

+
+
+

${product.price} each

+
+
+
+

+ ${Number(product.price) * product.quantity} +

+