@loafmarkets/ui 0.1.60 → 0.1.62
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2905,6 +2905,7 @@ var PropertyNewsUpdates = React5__namespace.forwardRef(
|
|
|
2905
2905
|
"div",
|
|
2906
2906
|
{
|
|
2907
2907
|
className: "mt-4 flex flex-1 flex-col gap-3 overflow-visible",
|
|
2908
|
+
style: !isPurchaseVariant && !isHomeVariant ? { minHeight: `${ITEMS_PER_PAGE * 88}px` } : void 0,
|
|
2908
2909
|
children: isPurchaseVariant ? purchaseItems.length > 0 ? purchaseItems.slice(0, 7).map((purchase, index) => {
|
|
2909
2910
|
const maxAmount = 6e4;
|
|
2910
2911
|
const barPercent = Math.min(85, Math.max(15, purchase.amount / maxAmount * 100));
|
|
@@ -3043,7 +3044,7 @@ var PropertyNewsUpdates = React5__namespace.forwardRef(
|
|
|
3043
3044
|
animation: item.isNew ? "propertyNewsSlideIn 0.5s ease-out" : void 0
|
|
3044
3045
|
},
|
|
3045
3046
|
children: [
|
|
3046
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontSize: "0.9375rem", fontWeight: 500, marginBottom: "0.35rem" }, children: item.url ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3047
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontSize: "0.9375rem", fontWeight: 500, marginBottom: "0.35rem", color: "#fff" }, children: item.url ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3047
3048
|
"a",
|
|
3048
3049
|
{
|
|
3049
3050
|
href: item.url,
|