Skip to content

Commit

Permalink
fix(resource): bug fix in pdf viewer (DEV-338) (#626)
Browse files Browse the repository at this point in the history
* chore(deps): update ng2-pdf-viewer

* style(resource): display pdf in pdf-viewer
  • Loading branch information
kilchenmann committed Jan 4, 2022
1 parent e4ba853 commit 4b5d5d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -49,10 +49,10 @@
"json2typescript": "^1.0.6",
"jsonld": "^5.2.0",
"moment": "^2.27.0",
"ng2-pdf-viewer": "^7.0.1",
"ng2-pdf-viewer": "^7.0.2",
"ngx-color-picker": "^11.0.0",
"openseadragon": "^2.4.0",
"pdfjs-dist": "^2.7.570",
"pdfjs-dist": "^2.11.338",
"rollbar": "^2.24.0",
"rxjs": "~6.5.5",
"semver": "^6.1.1",
Expand Down
Expand Up @@ -6,16 +6,18 @@ $panelSize: 40px;

$osd-height: 460px;

// colors
$dark: #000;
$bright: #ccc;

:host {
border: 1px solid $black;

.pdf-container {
color: $bright;
background-color: $dark;
height: 100%;
background-color: $black;

pdf-viewer {
position: inherit;
height: calc(100% - 4px);
}
}

.pdf-searchbox {
Expand Down

0 comments on commit 4b5d5d5

Please sign in to comment.