Git Product home page Git Product logo

Comments (4)

iPLazza avatar iPLazza commented on August 17, 2024 1

try loading the css file <link rel="stylesheet" href="pdf.js-viewer/viewer.css" type="text/css"/> at the beginning of your index

from angular-pdfjs-viewer.

Vipul25 avatar Vipul25 commented on August 17, 2024

Getting the same issue.

Any update on this?

from angular-pdfjs-viewer.

jasny avatar jasny commented on August 17, 2024

The CSS doesn't seem to be loaded or isn't applied.

  • Make sure you load stylesheet vendor/pdf.js-viewer/viewer.css.
  • Please check if there are any error responses (404, 400, 5xx) when loading this page.
  • Check that the content is with a <div class="pdf">. Angular-pdfjs-viewer should add this div, just make sure it's there.
  • Check which styles are applied for an element using the developer console (chrome). Check that the styles of viewer.css are applied and not overwritten.

from angular-pdfjs-viewer.

SwanHtetKyaw24 avatar SwanHtetKyaw24 commented on August 17, 2024

I am also encountering this issue if dev team still fixing issue though they said 'We're no longer using this library ourselves' plz respond. I will attach my html, controller and dom

Issue Report.zip

from angular-pdfjs-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.