Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#2,433 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
html

调研方向

打开 issue 中链接的 Passkeys in Action 页面,并在约 414px 的 viewport 下复现视频溢出问题。检查嵌入的视频及其 admonition 容器,以确定相关的文档样式入口点。完成标准是视频能够在父元素内缩放,且在小屏幕上不会发生水平溢出。

由索引模型根据 Issue 内容生成。

描述

bug
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>
主要语言
TypeScript
星标
161
派生
1.9k
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ory/docs 的其他 Issue

查看 ory/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。