Skip to content

Cannot expand <iframe> height #686

@nil0x42

Description

@nil0x42

I just created a render note, rendering an html code note based on iframe (to get original html display)

My html code note is like that:

<iframe style="min-height: 85vh; width:100%; height:100%;" src="data:text/html;charset=utf-8,%3C!DOCTYPE......" sandbox=""></iframe>

The dirty min-height: 85vh; is the only way i found to display the iframe with an acceptable height.

If i use min-height: 100%;, the iframe's height is only 154px, and i could not find why...
Screenshot:
Screenshot_2019-11-05_12-13-11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions