@primestyleai/tryon 5.10.180 → 5.10.181
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.
|
@@ -12738,7 +12738,7 @@ const STYLES = `
|
|
|
12738
12738
|
}
|
|
12739
12739
|
|
|
12740
12740
|
/* ── Product photo strip (single-garment, below the size card) ──
|
|
12741
|
-
|
|
12741
|
+
Two thumbnails per row, evenly spaced, auto-advances. Lives at
|
|
12742
12742
|
the bottom of the right panel as decoration / entertainment. */
|
|
12743
12743
|
.ps-tryon-photo-strip {
|
|
12744
12744
|
margin-top: 0.65vw;
|
|
@@ -12757,12 +12757,13 @@ const STYLES = `
|
|
|
12757
12757
|
}
|
|
12758
12758
|
.ps-tryon-photo-strip-row {
|
|
12759
12759
|
display: grid;
|
|
12760
|
-
grid-template-columns: repeat(
|
|
12760
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
12761
12761
|
gap: 0.45vw;
|
|
12762
12762
|
animation: ps-tryon-photo-strip-fade 0.5s ease;
|
|
12763
12763
|
}
|
|
12764
|
-
.ps-tryon-photo-strip-row.ps-count-1
|
|
12765
|
-
grid-
|
|
12764
|
+
.ps-tryon-photo-strip-row.ps-count-1 {
|
|
12765
|
+
grid-template-columns: minmax(0, calc((100% - 0.45vw) / 2));
|
|
12766
|
+
justify-content: center;
|
|
12766
12767
|
}
|
|
12767
12768
|
.ps-tryon-photo-strip-cell {
|
|
12768
12769
|
position: relative;
|
|
@@ -12822,6 +12823,9 @@ const STYLES = `
|
|
|
12822
12823
|
.ps-tryon-photo-strip-row {
|
|
12823
12824
|
gap: 8px;
|
|
12824
12825
|
}
|
|
12826
|
+
.ps-tryon-photo-strip-row.ps-count-1 {
|
|
12827
|
+
grid-template-columns: minmax(0, calc((100% - 8px) / 2));
|
|
12828
|
+
}
|
|
12825
12829
|
.ps-tryon-photo-strip-cell {
|
|
12826
12830
|
aspect-ratio: 1 / 1; border-radius: 12px;
|
|
12827
12831
|
}
|
|
@@ -22435,7 +22439,7 @@ function MultiSectionMobile({
|
|
|
22435
22439
|
sizeGuide ? null : null
|
|
22436
22440
|
] });
|
|
22437
22441
|
}
|
|
22438
|
-
const PER_SLIDE =
|
|
22442
|
+
const PER_SLIDE = 2;
|
|
22439
22443
|
const CYCLE_MS = 4e3;
|
|
22440
22444
|
function ProductPhotoCarouselCard({
|
|
22441
22445
|
photos,
|