Skip to content

Commit

Permalink
pdf viewer full height
Browse files Browse the repository at this point in the history
Required since we moved the header with file info outside of the app div
  • Loading branch information
diocas authored and elizavetaRa committed Dec 2, 2022
1 parent 16a68c6 commit d2a87b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web-app-pdf-viewer/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<loading-screen v-if="loading" />
<error-screen v-else-if="loadingError" />
<div v-else class="oc-height-1-1">
<object class="pdf-viewer oc-width-1-1" :data="url" type="application/pdf" />
<object class="pdf-viewer oc-width-1-1 oc-height-1-1" :data="url" type="application/pdf" />
</div>
</main>
</template>
Expand Down Expand Up @@ -74,6 +74,5 @@ export default defineComponent({
margin: 0;
padding: 0;
overflow: hidden;
height: calc(100% - 52px);
}
</style>

0 comments on commit d2a87b0

Please sign in to comment.