Skip to content

Question: How to auto set the height? #19

@atifwaqar

Description

@atifwaqar

I want my pdf to automatically fit in a div. and my div height is 100% of my page. when I use the following syntax pdf viewer is half the size of my page:

<pdf-element id="pdf" show-spinner ></pdf-element>

For now, I am using the following syntax, but it looks bad on some computers with different resolution:

<pdf-element height=800 id="pdf" show-spinner ></pdf-element>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions