@mx-cartographer/insights-ui 1.8.15-alpha.JB2 → 1.8.15-alpha.JB3

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.es.js CHANGED
@@ -948,7 +948,7 @@ const Ue = ({
948
948
  if (n.current) {
949
949
  const s = n.current, h = s.parentElement;
950
950
  if (h) {
951
- const m = Array.from(h.children).reduce((v, J) => J !== s ? v + J.clientHeight : v, 0), u = h.clientHeight - m, y = parseInt(
951
+ const m = Array.from(h.children).reduce((v, J) => J !== s ? v + J.clientHeight : v, 0), u = h.clientHeight - m - 16, y = parseInt(
952
952
  window.getComputedStyle(s).lineHeight,
953
953
  10
954
954
  ), S = Math.floor(u / y);
@@ -2180,7 +2180,7 @@ const R1 = ({
2180
2180
  buttonProps: r,
2181
2181
  header: o,
2182
2182
  isMini: n
2183
- }) => /* @__PURE__ */ d(
2183
+ }) => /* @__PURE__ */ e(
2184
2184
  L,
2185
2185
  {
2186
2186
  altLoadingText: i,
@@ -2195,17 +2195,14 @@ const R1 = ({
2195
2195
  ),
2196
2196
  header: n ? void 0 : o,
2197
2197
  isMini: n,
2198
- children: [
2199
- /* @__PURE__ */ e(p, { maxHeight: n ? 200 : "auto", ml: -16, mr: -16, children: /* @__PURE__ */ e(
2200
- "img",
2201
- {
2202
- alt: l.description,
2203
- src: l.image_url,
2204
- style: { width: "100%", height: "auto" }
2205
- }
2206
- ) }),
2207
- /* @__PURE__ */ e(p, { height: 16 })
2208
- ]
2198
+ children: /* @__PURE__ */ e(p, { maxHeight: n ? 200 : "auto", mb: 16, ml: -16, mr: -16, children: /* @__PURE__ */ e(
2199
+ "img",
2200
+ {
2201
+ alt: l.description,
2202
+ src: l.image_url,
2203
+ style: { width: "100%", height: "auto" }
2204
+ }
2205
+ ) })
2209
2206
  }
2210
2207
  );
2211
2208
  export {