Commit Graph

10 Commits

Author SHA1 Message Date
loryeam 1cf1c7ec28 horizontally and vertically center canvas and text layer
Also fixes an issue where text layer is not exactly on top of the canvas when
canvas width is less than screen width (which happens often in landscape mode or
when fully zoomed out)
2022-12-05 03:20:08 -05:00
MHShetty c7a0ae858e Use a grey background while viewing a document 2022-02-19 08:48:09 -05:00
smdyv f07b6350df Center canvas 2022-02-19 08:37:38 -05:00
smdyv c743c0d6a7 Create layout for the PDF viewer activity
Updating insets is no longer necessary because the layout reserves the
space for the top app bar and frees it up in full-screen mode so the
WebView can fill the entire screen.
2022-02-19 08:32:15 -05:00
Daniel Micay e4b107e1e4 update text layer CSS 2021-11-24 22:22:33 -05:00
Daniel Micay 1da56e759f set fullscreen padding to the proper width 2019-08-20 12:47:01 -04:00
Daniel Micay be2439be65 add padding to account for fullscreen mode 2019-08-20 12:40:12 -04:00
Daniel Micay f6a4767d37 update pdf.js to 2.1.166 2019-08-16 01:21:12 -04:00
Daniel Micay 724474a703 remove unnecessary and legacy Firefox workaround 2019-07-01 01:49:24 -04:00
Daniel Micay d7eed01e80 initial commit with overhauled / rebranded project 2019-06-27 23:22:08 -04:00