Embedded video nested in admonition does not scale down on small screens
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- html
调研方向
打开 issue 中链接的 Passkeys in Action 页面,并在约 414px 的 viewport 下复现视频溢出问题。检查嵌入的视频及其 admonition 容器,以确定相关的文档样式入口点。完成标准是视频能够在父元素内缩放,且在小屏幕上不会发生水平溢出。
由索引模型根据 Issue 内容生成。
描述
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
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
- Open the documentation page containing the Passkeys in Action Link
- 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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ory/docs 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
-
good first issue help wanted upstream
难度 1/5 1-3 小时 新手友好度 72/100
-
bug
难度 1/5 1 小时以内 新手友好度 78/100
-
good first issue help wanted upstream
难度 1/5 1-3 小时 新手友好度 72/100
-
Shared kratos pages can only belong to one sidebar — OEL readers lose navigation context可能重新可做 @hperl 于 80 天前认领,目前没有进行中的 PR。 未关闭
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
callstackincubator/rozenite#518 ·
维护者通常 1 天内回复
-
Area/Workflow Priority/Blocker Type/Bug
难度 2/5 1-3 小时 新手友好度 76/100
wso2/product-integrator#2622 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
area:bash bug has repro platform:macos
难度 2/5 1-3 小时 新手友好度 78/100
anthropics/claude-code#98644 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
allure-framework/allure-js#1603 ·
维护者通常 1 天内回复