jspdf-utils 0.1.21 → 0.1.22

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.
@@ -613,7 +613,7 @@ async function rt(e, n, a = {}) {
613
613
  width: "fit-content",
614
614
  height: t.pageHeight + "mm",
615
615
  maxHeight: "100vh",
616
- overflowY: "auto",
616
+ overflowY: i.length > 1 ? "auto" : "hidden",
617
617
  background: "#e0e0e0"
618
618
  });
619
619
  for (let o = 0; o < i.length; o++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jspdf-utils",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Utility helpers for jsPDF's doc.html() renderer with automatic page breaking, table splitting, and RTL support",
5
5
  "type": "module",
6
6
  "main": "dist/html-to-pdf.js",