datastake-daf 0.6.428 → 0.6.429

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.
@@ -13388,7 +13388,7 @@ function PdfView(_ref2) {
13388
13388
  console.log({
13389
13389
  dif
13390
13390
  });
13391
- topRef.current.style.marginBottom = "".concat(HEADER_HEIGHT + 24, "px");
13391
+ topRef.current.style.marginBottom = "".concat(dif + HEADER_HEIGHT - 24, "px");
13392
13392
  incrHeight = height + 24 + HEADER_HEIGHT;
13393
13393
  // console.log('margin', dif);
13394
13394
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.428",
3
+ "version": "0.6.429",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -87,7 +87,7 @@ export default function PdfView({
87
87
  if (sectionsConfig[keys[i - 1]]) {
88
88
  const { ref: topRef } = sectionsConfig[keys[i - 1]];
89
89
  console.log({dif})
90
- topRef.current.style.marginBottom = `${HEADER_HEIGHT + 24}px`;
90
+ topRef.current.style.marginBottom = `${dif + HEADER_HEIGHT - 24}px`;
91
91
  incrHeight = height + 24 + HEADER_HEIGHT;
92
92
  // console.log('margin', dif);
93
93
  }