@loafmarkets/ui 0.1.61 → 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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- 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));
|