Skip to content

Commit 902a983

Browse files
committed
Container
1 parent b57a938 commit 902a983

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Cart/CartContents.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const CartContents = () => {
8888
<div className="container mx-auto px-4 py-8">
8989
{data?.cart?.contents?.nodes?.length ? (
9090
<>
91-
<div className="bg-white rounded-lg shadow-md p-6 mb-8 w-[550px] md:w-full">
91+
<div className="bg-white rounded-lg shadow-md p-6 mb-8 md:w-full">
9292
{data.cart.contents.nodes.map((item: IProductRootObject) => (
9393
<div
9494
key={item.key}
@@ -148,7 +148,7 @@ const CartContents = () => {
148148
</div>
149149
))}
150150
</div>
151-
<div className="bg-white rounded-lg shadow-md p-6 w-[550px] md:w-full">
151+
<div className="bg-white rounded-lg shadow-md p-6 md:w-full">
152152
<div className="flex justify-end mb-4">
153153
<span className="font-semibold pr-2">Subtotal:</span>
154154
<span>{cartTotal}</span>

src/components/Layout/Layout.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const Layout = ({ children, title }: ILayoutProps) => {
5656
}, [refetch]);
5757

5858
return (
59-
<div className="flex flex-col min-h-screen min-w-[550px]">
59+
<div className="flex flex-col min-h-screen container">
6060
<Header title={title} />
6161
<PageTitle title={title} />
6262
<main className="flex-grow">

0 commit comments

Comments
 (0)