Skip to content

Height and width of Embed element are not correct. #937

@torn4dom4n

Description

@torn4dom4n

What version of starlight are you using?

0.11.1

What version of astro are you using?

v3.3.2

What package manager are you using?

pnpm

What operating system are you using?

Windows

What browser are you using?

Edge

Describe the Bug

The height and width are not correct with an embedded YouTube.

In this screen you can see height and width in my code differ from actual height and width.

image

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-nfsqau?file=src%2Fcontent%2Fdocs%2Fguides%2Fexample.md

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions