Skip to content

Commit

Permalink
[bugfix] make PdfView scrollable again
Browse files Browse the repository at this point in the history
html { overflow-y: hidden !important; } from HomeView had an effect here.
Workaround is to mimick scrollwrapper and forms for scrolling of div
  • Loading branch information
alex-rind committed Aug 17, 2023
1 parent 867f886 commit c894a2c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/views/PdfView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,24 @@ export default defineComponent({
background: none;
}
.page {
margin: 2em 4em 2em;
margin-left: 4em;
padding: 2em 0em 0em;
}
@media screen and (min-width: 133vh) {
.page {
display: flex;
flex-direction: column;
height: 100vmin;
}
#print {
flex-grow: 1;
overflow-y: auto;
overflow-x: none;
padding-right: 1em;
}
}
@media print {
#printinfo {
display: none;
Expand Down

0 comments on commit c894a2c

Please sign in to comment.