Skip to content

PDF File page size does not fit to window size #1538

Closed Answered by fabianf92
fabianf92 asked this question in Q&A
Discussion options

You must be logged in to vote

I simply forgot to add

import 'react-pdf/dist/esm/Page/AnnotationLayer.css';
import 'react-pdf/dist/esm/Page/TextLayer.css';

Perfectly working now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wojtekmaj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant