@prose-reader/enhancer-pdf 1.242.0 → 1.243.0
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.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -58,7 +58,7 @@ const createArchiveFromPdf = async (file, filename) => {
|
|
|
58
58
|
return archive;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
const pdfFrameStyle = "body {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n /* This will prevent
|
|
61
|
+
const pdfFrameStyle = "body {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n /* This will prevent scrollbar and wrong offset of annotation layer */\n overflow: hidden;\n}\n";
|
|
62
62
|
|
|
63
63
|
const layoutContainer = (container, spreadPosition, viewport) => {
|
|
64
64
|
if (!container) return;
|
package/dist/index.umd.cjs
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
return archive;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
const pdfFrameStyle = "body {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n /* This will prevent
|
|
81
|
+
const pdfFrameStyle = "body {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n /* This will prevent scrollbar and wrong offset of annotation layer */\n overflow: hidden;\n}\n";
|
|
82
82
|
|
|
83
83
|
const layoutContainer = (container, spreadPosition, viewport) => {
|
|
84
84
|
if (!container) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prose-reader/enhancer-pdf",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.243.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.umd.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"pdfjs-dist": "5.x",
|
|
27
27
|
"rxjs": "*"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "a180dedc06faae8df7b679095456030d3e93b418"
|
|
30
30
|
}
|