C2DH / ww1

ww1 exhibition website
2 stars 1 forks source link

Check for updates in pdf viewer dependencies #111

Closed bianchimro closed 6 years ago

bianchimro commented 6 years ago

https://github.com/mikecousins/react-pdf-js

see also:

bianchimro commented 6 years ago

@uf0 with new version of the package we're using (seems the best option) there is a new option called "fitWidth" (working, while "fillHeight" does not seem to work).

Proposal: we could add a "fit width" button alternative to manual zoom.

uf0 commented 6 years ago

it's not possible to add a "fitHeight" button? and by default have the pdf adapted to the width?