@pradip1995/layout-product 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/layout.tsx +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pradip1995/layout-product",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"react": ">=19"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
+
"@pradip1995/layout-default": "0.2.8",
|
|
21
22
|
"@pradip1995/segment-primitives": "0.3.0",
|
|
22
|
-
"@pradip1995/segment-tokens": "0.3.
|
|
23
|
-
"@pradip1995/layout-default": "0.2.6"
|
|
23
|
+
"@pradip1995/segment-tokens": "0.3.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@pradip1995/plugin-sdk": "^0.2.0",
|
package/src/layout.tsx
CHANGED
|
@@ -16,17 +16,17 @@ export default function LayoutProduct({
|
|
|
16
16
|
<StorefrontShell data={data}>
|
|
17
17
|
<div className="mx-auto px-4 sm:px-6 py-6 lg:py-10" style={{ maxWidth: "var(--container-max)" }}>
|
|
18
18
|
<div
|
|
19
|
-
className="flex flex-col lg:flex-row lg:items-start gap-8 lg:gap-
|
|
19
|
+
className="flex flex-col lg:flex-row lg:items-start gap-8 lg:gap-12 mt-2 lg:mt-4 product-page__grid product-page--beauty"
|
|
20
20
|
data-testid="product-container"
|
|
21
21
|
>
|
|
22
22
|
<div
|
|
23
23
|
id="product-gallery-container"
|
|
24
|
-
className="product-images-sticky w-full
|
|
24
|
+
className="product-images-sticky w-full min-w-0 shrink-0 lg:w-[58%]"
|
|
25
25
|
>
|
|
26
26
|
{gallery}
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
|
-
<div className="product-details-column product-details-scroll w-full
|
|
29
|
+
<div className="product-details-column product-details-scroll w-full min-w-0 shrink-0 flex flex-col gap-4 lg:gap-6 lg:pt-0 lg:w-[42%]">
|
|
30
30
|
{info}
|
|
31
31
|
{actions}
|
|
32
32
|
</div>
|