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

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,11 @@ 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 - 16, y = parseInt(
951
+ const m = Array.from(h.children).reduce((v, J) => J !== s ? v + J.clientHeight : v, 0), E = h.clientHeight;
952
+ console.log(E);
953
+ const u = E - m - 16;
954
+ console.log(u);
955
+ const y = parseInt(
952
956
  window.getComputedStyle(s).lineHeight,
953
957
  10
954
958
  ), S = Math.floor(u / y);
@@ -2200,7 +2204,7 @@ const R1 = ({
2200
2204
  {
2201
2205
  alt: l.description,
2202
2206
  src: l.image_url,
2203
- style: { width: "100%", height: "auto" }
2207
+ style: { width: "100%", height: n ? 200 : "auto" }
2204
2208
  }
2205
2209
  ) })
2206
2210
  }