GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): 需求看板列宽随窗口自适应 by uiliugang · Pull Request #267 · uiliugang/t3code

Conversation

@uiliugang

@uiliugang uiliugang commented Nov 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

问题

桌面端需求看板「工作流」视图里,各列宽度固定为 18rem。窗口较宽时列不会伸展,右侧留出一大块空白,而列内标题被挤成三四行。

修复

把列容器从固定宽度的 flex 改为 grid,每列宽度在 18rem 到 26rem 之间取值。

  • 空间充足时,各列均分剩余宽度,最宽到 26rem 为止,列数少时卡片不会被拉得很空。
  • 空间不足时(窄窗口、打开右侧详情面板、列较多),列保持 18rem 最小宽度并横向滚动,与之前一致。
  • 折叠列、列内滚动、吸顶表头行为不变。列表视图不受影响。

验证

  • 浏览器测试覆盖三档看板宽度:宽(列停在 26rem)、中(均分,介于上下限之间,末列贴齐右边缘)、窄(列保持 18rem 并横向滚动)。
  • vp run check:changed 全部通过(format、lint、knip、typecheck、browser test、react compiler)。
  • 用 T3 内置浏览器在开发环境验收:宽屏封顶、窄窗口横向滚动、折叠列、右侧面板打开均正常。

截图

改动前后的对比截图已保存在本地(/tmp/t3-kanban/before.png、/tmp/t3-kanban/after.png)。当前环境没有可用的 GitHub 附件上传方式,故未附在 PR 描述中。


模型:GLM(glm-5.4),Claude Code harness

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
liugang59 @claude
fix(web): 需求看板列宽随窗口自适应
8eee2c9
桌面端需求看板的工作流视图里,各列宽度固定为 18rem,窗口再宽也不会伸展,
右侧留出一大块空白,标题被挤成三四行。

改为 grid 布局:列宽在 18rem 与等分剩余宽度之间取值,空间足够时铺满看板,
空间不足时保持最小宽度并横向滚动。折叠列和列内滚动行为不变。

补充浏览器测试,断言列宽超过最小宽度且最后一列贴齐看板右边缘。

Co-Authored-By: Claude Code <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS labels Nov 28, 2026
liugang59 @claude
fix(web): 需求看板列宽增加上限
25dbaf0
上一提交让看板列均分剩余宽度,列数少时卡片会被拉得很宽、内容显得空。

列宽改为在 18rem 到 26rem 之间取值:空间充足时停在 26rem,空间不足时
均分并保持 18rem 最小宽度后横向滚动。

浏览器测试改为覆盖宽、中、窄三档看板宽度。

Co-Authored-By: Claude Code <[email protected]>
@uiliugang
uiliugang merged commit b30a803 into main Nov 28, 2026
32 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@uiliugang uiliugang mentioned this pull request Nov 28, 2026
feat(ux): 新增待办收件箱与 Spaces 并美化侧栏 #269
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XS vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@uiliugang
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.