Skip to content

Embedded video nested in admonition does not scale down on small screens #2433

@jfcurran

Description

@jfcurran

Preflight checklist

Ory Network Project

No response

Describe the bug

On mobile viewports, the YouTube video player inside admonitions does not scale to the width of its parent container. Instead, it appears to have a fixed width, causing it to overflow or appear wider than the surrounding content.

Reproducing the bug

  1. Open the documentation page containing the Passkeys in Action Link
  2. Switch to a small viewport (e.g. iPhone XR, ~414px width) using dev tools or just resizing the window.

On which operating system are you observing this issue?

Chrome
Version 144.0.7559.97 (Official Build) (arm64)

Additional Context

<video tabindex="-1" aria-hidden="true" class="video-stream html5-main-video" webkit-playsinline="" playsinline="" controlslist="nodownload" style="width: 560px; height: 315px; left: 0px; top: -315px;"></video>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions