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.
package/dist/components/index.js
CHANGED
|
@@ -13388,7 +13388,7 @@ function PdfView(_ref2) {
|
|
|
13388
13388
|
console.log({
|
|
13389
13389
|
dif
|
|
13390
13390
|
});
|
|
13391
|
-
topRef.current.style.marginBottom = "".concat(
|
|
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
|
@@ -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 = `${
|
|
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
|
}
|