Keep drawing text controls clear of captions in constrained layouts
维护者通常 1 天内回复
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- frontend
调研方向
Start from PR #689, which reserves space for the compact caption card only in the two-column layout from 1024px, and find the stacked-layout rules that cover 481px to 1023px. The existing stacked-layout test checks only drawing width, so add browser coverage at 481px, 900px and 1023px. Done means labels placed near the card can still have Confirm and Cancel clicked with long captions and self-view. The layout choice needs checking against the available space first.
由索引模型根据 Issue 内容生成。
描述
Follow-up requested in https://github.com/sysprog21/codetrial/pull/689#discussion_r4566678963.
PR #689 reserves space for the compact caption card only in the two-column layout, from 1024px. Between 481px and 1023px, an expanded Example drawing still uses the fixed bottom-right card without reserving space for it. A label near that corner can therefore have Confirm or Cancel covered.
This is source analysis at 99ff92a and the maintainer's review observation, not a new browser reproduction. The existing stacked-layout test checks drawing width, not pointer access to label controls.
Keep the drawing usable at stacked widths while making Confirm and Cancel reachable with long captions and self-view. Add browser coverage at 481px, 900px and 1023px that creates labels near the card and clicks both controls. Choose the layout after checking the space available on these windows; a full-height side strip would make the drawing too narrow.
The desktop acceptance cases remain covered by #609 and PR #689.
Related desktop case from https://github.com/sysprog21/codetrial/pull/689#discussion_r4574354351: at 1024x800 with a 32px root font, the sidebar, drawing and card cannot all fit. PR #689 now clears its card cap when the available strip is too narrow for the fixed 120px self view, 1.25rem padding and 2px border, preserving a readable card rather than collapsing it to its padding. The 32px-root browser check confirms the card stays at 260px instead of 42px; it does not assert drawing clearance. Include this enlarged-font case when choosing and testing the constrained layout here.
- 主要语言
- Rust
- 星标
- 236
- 派生
- 153
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 187
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/codetrial 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 70/100
维护者通常 1 天内回复
-
Unify Java harness validation error messages可能已有人在做 @weichieh0204 今天认领。 未关闭
sysprog21/codetrial#872 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Inferred void class operations are never checked against the starter's return type可能已有人在做 @papaya0112 今天认领。 未关闭
sysprog21/codetrial#871 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwrite可能已有人在做 @BOBOGUAGUA428 今天认领。 未关闭
sysprog21/codetrial#869 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 sysprog21/codetrial 的全部 Issue
相似的 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
manaflow-ai/cmux#59692 ·
维护者通常 1 天内回复
-
Retire stale Python-parity labels in Rust ingress and auth tests可能已有人在做 @github-actions 今天认领。 未关闭factory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
难度 2/5 1-3 小时 新手友好度 82/100
JoshCLWren/comic-pile#5874 · 2 条评论 ·
维护者通常 1 天内回复
-
status:ready unit
难度 2/5 1-3 小时 新手友好度 75/100
nonagenticai/conveyor#787 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复