@vertexvis/doc-viewer 1.0.2-canary.10 → 1.0.2-canary.11
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/cjs/vertex-document-viewer.cjs.entry.js +1 -1
- package/dist/collection/components/document-viewer/document-viewer.css +2 -2
- package/dist/components/vertex-document-viewer.js +1 -1
- package/dist/doc-viewer/doc-viewer.esm.js +1 -1
- package/dist/doc-viewer/{p-465c1030.entry.js → p-d55c9d5e.entry.js} +1 -1
- package/dist/esm/vertex-document-viewer.entry.js +1 -1
- package/package.json +4 -4
|
@@ -34643,7 +34643,7 @@ class PdfJsProvider {
|
|
|
34643
34643
|
}
|
|
34644
34644
|
}
|
|
34645
34645
|
|
|
34646
|
-
const documentViewerCss = () => `:host{display:block;position:relative;width:300px;height:300px;min-width:1px;min-height:1px;user-select:none;-webkit-user-select:none;--viewer-background:#
|
|
34646
|
+
const documentViewerCss = () => `:host{display:block;position:relative;width:300px;height:300px;min-width:1px;min-height:1px;user-select:none;-webkit-user-select:none;--viewer-background:#eeeeee}.viewer-container{width:100%;height:100%;overflow:hidden}.canvas-container{display:flex;justify-content:center;align-items:center;width:100%;height:100%;position:relative}#document-viewer-canvas{background-color:var(--viewer-background)}`;
|
|
34647
34647
|
|
|
34648
34648
|
const VertexDocumentViewer = class {
|
|
34649
34649
|
constructor(hostRef) {
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* @prop --viewer-background:
|
|
14
14
|
* A CSS color value used as the background painted behind the loaded PDF,
|
|
15
|
-
* visible in the negative space around the page. Defaults to #
|
|
15
|
+
* visible in the negative space around the page. Defaults to #eeeeee.
|
|
16
16
|
*/
|
|
17
|
-
--viewer-background: #
|
|
17
|
+
--viewer-background: #eeeeee;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.viewer-container {
|