Skip to content

Commit

Permalink
Fix scroll issues
Browse files Browse the repository at this point in the history
  • Loading branch information
PatWie committed Jul 12, 2020
1 parent 5829b50 commit 971bd53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ html, body {
overflow-y: hidden;
}


#pdf-viewer {
position: absolute;
top: 0;
left: 0;
width: 3000%;
height: 100%;
}
Expand Down
2 changes: 2 additions & 0 deletions static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ $(function() {
$('#query').select();
$('#list-viewer').css('visibility', 'visible');
$('#pdf-viewer').css('visibility', 'hidden');
$('#pdf-viewer').css('display', 'none');
perform_query();
// this.select_entry(0);
}
Expand All @@ -73,6 +74,7 @@ $(function() {
$('#query').blur();
$('#query').blur();
$('#pdf-viewer').css('visibility', 'visible');
$('#pdf-viewer').css('display', 'block');
$('#list-viewer').css('visibility', 'hidden');
}

Expand Down

0 comments on commit 971bd53

Please sign in to comment.