Skip to content

Commit 9d3c22e

Browse files
NyanHelsingfelliott
authored andcommitted
Stop hypothesis sidebar from overlapping pdf.js toolbar
* Move the hypothesis sidebar down by the height of the pdf.js toolbar, so it doesn't obscure anything. On very small screens, hypothesis had been encroaching on the minimum-width of the pdf.js toolbar.
1 parent bf14694 commit 9d3c22e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mfr/extensions/pdf/templates/viewer.mako

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ http://sourceforge.net/adobe/cmap/wiki/License/
4040

4141
% if enable_hypothesis:
4242
<style>
43-
body.show-hypothesis #toolbarViewer {
44-
position: relative;
45-
margin-right: 36px;
43+
body.show-hypothesis .annotator-frame {
44+
margin-top: 32px;
4645
}
4746
</style>
4847
% endif

0 commit comments

Comments
 (0)