@loafmarkets/ui 0.1.104 → 0.1.105

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 CHANGED
@@ -11993,7 +11993,7 @@ function PortfolioActivityPanel({
11993
11993
  /* @__PURE__ */ jsxRuntime.jsx(PositionsHeaderCell, { $align: "right", children: "Entry Price" }),
11994
11994
  /* @__PURE__ */ jsxRuntime.jsx(PositionsHeaderCell, { $align: "right", children: "Mark Price" }),
11995
11995
  /* @__PURE__ */ jsxRuntime.jsx(PositionsHeaderCell, { $align: "right", children: "PNL (%)" }),
11996
- onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(PositionsHeaderCell, { $align: "right", children: "Close" })
11996
+ onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(PositionsHeaderCell, { children: "Close" })
11997
11997
  ] }),
11998
11998
  pageSlice(positions).map((pos) => {
11999
11999
  const currentValue = pos.quantity * pos.marketPrice;
@@ -12018,7 +12018,7 @@ function PortfolioActivityPanel({
12018
12018
  "%"
12019
12019
  ] })
12020
12020
  ] }),
12021
- onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(PositionsCell, { $align: "right", children: /* @__PURE__ */ jsxRuntime.jsxs(CloseActions, { children: [
12021
+ onClosePosition && /* @__PURE__ */ jsxRuntime.jsx(PositionsCell, { $align: "left", children: /* @__PURE__ */ jsxRuntime.jsxs(CloseActions, { children: [
12022
12022
  /* @__PURE__ */ jsxRuntime.jsx(CloseBtn2, { onClick: (e) => {
12023
12023
  e.stopPropagation();
12024
12024
  onClosePosition(pos.tokenName, "limit", pos.quantity, pos.marketPrice);