@arbidocs/blocks 0.3.156 → 0.3.158

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.cjs CHANGED
@@ -930,8 +930,9 @@ function GridView({
930
930
  const padTotal = Math.max(0, Math.min(PREFERRED_PAD, rowHeight - BORDER - LINE_PX));
931
931
  const lines2 = Math.max(1, Math.floor((rowHeight - BORDER - padTotal) / LINE_PX));
932
932
  const vars = style;
933
- vars["--abstract-pad-y"] = `${padTotal / 2}px`;
934
- vars["--abstract-max-h"] = `${lines2 * LINE_PX + padTotal + BORDER}px`;
933
+ vars["--multiline-line-clamp"] = `${lines2}`;
934
+ vars["--multiline-pad-y"] = `${padTotal / 2}px`;
935
+ vars["--multiline-max-h"] = `${lines2 * LINE_PX + padTotal / 2 + BORDER}px`;
935
936
  }
936
937
  return style;
937
938
  }, [height, rowHeight]);