ory / ory/docs

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

Open
#2,433 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
161
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

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>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the Passkeys in Action page linked in the issue and reproduce the video overflow at an approximately 414px viewport. Inspect the embedded video and its admonition container to identify the relevant documentation styling entry point. Done means the video scales within the parent without horizontal overflow on small screens.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.