legalthings / pdf.js-viewer

Compiled version of pdf.js viewer, modified to run embedded
Apache License 2.0
45 stars 55 forks source link

font-size is set globally for the whole page. #8

Open inakrin opened 7 years ago

inakrin commented 7 years ago

I'm experiencing an issue that when I include viewer.css in my angular app it sets the font-size for the whole page globally.

html {
    font-size: 10px;
    height: 100%;
}

Installed the last version from bower... It breaks the whole app.

brandondrew commented 7 years ago

I also had this problem. I removed body and html and integrated what was relevant into .pdfjs