Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
fix viewer layout
Browse files Browse the repository at this point in the history
Due to the toolbar has a 32px height, the height of `#viewerContainer` must shrink by 32px from inherited `100%`.
  • Loading branch information
volatile-static committed Oct 15, 2022
1 parent 20c6473 commit 0286063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/chrome/content/previewPDF.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
#viewerContainer {
display: block;
height: inherit;
height: calc(100% - 32px);
overflow-y: scroll;
}
.viewerCanvas {
Expand Down

0 comments on commit 0286063

Please sign in to comment.