File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ const SingleProduct: React.FC<IProductRootObject> = ({
37
37
. textContent || '' ;
38
38
}
39
39
40
-
41
-
42
40
return (
43
41
< section className = "bg-white mb-16 sm:mb-24" >
44
42
{ isLoading ? (
@@ -51,8 +49,8 @@ const SingleProduct: React.FC<IProductRootObject> = ({
51
49
< div className = "container mx-auto px-4 py-8 sm:px-6 lg:px-8" >
52
50
< div className = "flex flex-col space-y-8" >
53
51
{ /* First row: Product info, price, and purchase options */ }
54
- < div className = "grid grid-cols-1 md:grid-cols-2 gap-8 items-start " >
55
- < div className = "w-full" >
52
+ < div className = "flex flex-col md:flex-row gap-8" >
53
+ < div className = "w-full md:w-1/2 " >
56
54
{ image ? (
57
55
< img
58
56
id = "product-image"
@@ -72,7 +70,7 @@ const SingleProduct: React.FC<IProductRootObject> = ({
72
70
/>
73
71
) }
74
72
</ div >
75
- < div className = "flex flex-col space-y-6" >
73
+ < div className = "w-full md:w-1/2 flex flex-col space-y-6" >
76
74
< h1 className = "text-3xl font-bold" > { name } </ h1 >
77
75
< div className = "flex flex-col space-y-2" >
78
76
{ onSale && < p className = "text-sm" > Før { regularPrice } </ p > }
You can’t perform that action at this time.
0 commit comments