gantt-lib 0.72.0 → 0.72.1
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7263,7 +7263,7 @@ function createPrintStyle(targetDocument, orientation) {
|
|
|
7263
7263
|
const style = targetDocument.createElement("style");
|
|
7264
7264
|
style.textContent = `
|
|
7265
7265
|
@page {
|
|
7266
|
-
size: ${orientation}
|
|
7266
|
+
${orientation ? `size: ${orientation};` : ""}
|
|
7267
7267
|
margin: 12mm;
|
|
7268
7268
|
}
|
|
7269
7269
|
|
|
@@ -7835,7 +7835,7 @@ function GanttChartInner(props, ref) {
|
|
|
7835
7835
|
header: options?.header,
|
|
7836
7836
|
title: options?.title,
|
|
7837
7837
|
fileName: options?.fileName,
|
|
7838
|
-
orientation: options?.orientation
|
|
7838
|
+
orientation: options?.orientation
|
|
7839
7839
|
});
|
|
7840
7840
|
}, [showTaskList, showChart]);
|
|
7841
7841
|
useImperativeHandle(
|