@livelayer/react 0.18.0 → 0.18.2
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/dist/index.js +3 -3
- package/dist/index.mjs +610 -610
- package/dist/styles.css +27 -18
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -589,27 +589,36 @@
|
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
.ll-expanded--mobile {
|
|
592
|
-
/* Mobile
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
592
|
+
/* Mobile thumbnail card — matches the dimensions the LiveLayer
|
|
593
|
+
landing page uses for ExperienceForkCard's embedded preview
|
|
594
|
+
(components/landing/ExperienceFork.tsx — the canonical reference
|
|
595
|
+
design the team has shipped on www.livelayer.studio). Visitors
|
|
596
|
+
have explicitly asked us to match it exactly so the package
|
|
597
|
+
behaves identically across LL's own marketing site and customer
|
|
598
|
+
sites.
|
|
599
|
+
|
|
600
|
+
LL demo dimensions (from ExperienceFork.tsx:36):
|
|
601
|
+
mobile (default): w-[160px] h-[230px] ←──┐ matched
|
|
602
|
+
sm+ (≥640px): w-[180px] h-[260px] ←──┘ matched
|
|
603
|
+
|
|
604
|
+
Border radius: rounded-2xl in Tailwind = 16px.
|
|
605
|
+
|
|
606
|
+
Width and height are explicit pixels (not aspect-ratio) because
|
|
607
|
+
the reference uses explicit pixels — preserving every detail of
|
|
608
|
+
the design contract. The two breakpoints match LL exactly so the
|
|
609
|
+
widget reads as the same component in both contexts. */
|
|
610
|
+
width: 160px;
|
|
611
|
+
height: 230px;
|
|
610
612
|
border-radius: 16px;
|
|
611
613
|
}
|
|
612
614
|
|
|
615
|
+
@media (min-width: 640px) {
|
|
616
|
+
.ll-expanded--mobile {
|
|
617
|
+
width: 180px;
|
|
618
|
+
height: 260px;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
613
622
|
/* ── Background layers ───────────────────────────────────────── */
|
|
614
623
|
|
|
615
624
|
.ll-expanded__bg,
|