@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.mjs
CHANGED
|
@@ -2880,6 +2880,7 @@ var PropertyNewsUpdates = React5.forwardRef(
|
|
|
2880
2880
|
"div",
|
|
2881
2881
|
{
|
|
2882
2882
|
className: "mt-4 flex flex-1 flex-col gap-3 overflow-visible",
|
|
2883
|
+
style: !isPurchaseVariant && !isHomeVariant ? { minHeight: `${ITEMS_PER_PAGE * 88}px` } : void 0,
|
|
2883
2884
|
children: isPurchaseVariant ? purchaseItems.length > 0 ? purchaseItems.slice(0, 7).map((purchase, index) => {
|
|
2884
2885
|
const maxAmount = 6e4;
|
|
2885
2886
|
const barPercent = Math.min(85, Math.max(15, purchase.amount / maxAmount * 100));
|
|
@@ -3018,7 +3019,7 @@ var PropertyNewsUpdates = React5.forwardRef(
|
|
|
3018
3019
|
animation: item.isNew ? "propertyNewsSlideIn 0.5s ease-out" : void 0
|
|
3019
3020
|
},
|
|
3020
3021
|
children: [
|
|
3021
|
-
/* @__PURE__ */ jsx("p", { style: { fontSize: "0.9375rem", fontWeight: 500, marginBottom: "0.35rem" }, children: item.url ? /* @__PURE__ */ jsx(
|
|
3022
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "0.9375rem", fontWeight: 500, marginBottom: "0.35rem", color: "#fff" }, children: item.url ? /* @__PURE__ */ jsx(
|
|
3022
3023
|
"a",
|
|
3023
3024
|
{
|
|
3024
3025
|
href: item.url,
|