Skip to content

Commit

Permalink
Set direction: ltr; on the canvases used during printing (bug 1335712)
Browse files Browse the repository at this point in the history
This essentially mirrors the CSS rules used for the viewer itself, see `web/pdf_viewer.js`, and according to my very quick tests it seems to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1335712
  • Loading branch information
Snuffleupagus committed Aug 10, 2020
1 parent 6620861 commit 825538f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -1800,6 +1800,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
}
#printContainer canvas,
#printContainer img {
direction: ltr;
display: block;
}
}
Expand Down

0 comments on commit 825538f

Please sign in to comment.