[Bug]: Usage and Settings modals stop at 60rem tall, and zooming out shrinks them instead of showing more

未关闭
#36,133 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@craigcossairt 已经在做这个了。

开始于 2026年11月13日。

  • #36136 来自 @craigcossairt —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
typescript
领域
frontend

调研方向

Start with the sm:max-h-[60rem] cap in apps/web/src/components/AppRouteModal.tsx and inspect how the modal height responds to viewport size and zoom. Verify the Usage and Settings modals in a tall window; done means they can use the available height and reveal more content when zooming out.

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

描述

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Open T3 Code in a window taller than about 1040px. Mine is a portrait monitor, with a window of about 1073×1669.
  2. Open Usage → Limits with enough providers and accounts that the list is longer than 960px. I have Codex, five Claude accounts, Cursor and Grok.
  3. Look at the space above and below the modal, then scroll the list.
  4. Zoom out with Ctrl+- and look again.
Expected behavior

The modal uses the height the window has, so the whole list is visible without scrolling. Zooming out shows more of the list.

Actual behavior

The modal stops at 960px tall. In a 1680px tall window that leaves about 360px of empty backdrop above and below it, while the last provider is cut off and I have to scroll inside the modal to reach it.

Zooming out does not help. The modal gets physically smaller and still shows the same rows, with more empty backdrop around it.

The cause is sm:max-h-[60rem] on the popup in apps/web/src/components/AppRouteModal.tsx. The cap is in rem, so it scales with zoom. Settings uses the same modal and behaves the same way.

Impact

Minor bug or occasional failure

Version or commit

0.1.10-nightly.20261113.4616. Also on main @ 7903b487.

Environment

Windows 11, T3 Code desktop. One ultrawide monitor in portrait and one in landscape.

Screenshots, recordings, or supporting files

These are renders of AppRouteModal with the Limits view on made-up accounts, not my own. My real Limits page shows account emails.

Portrait window, 1080×1680. Grok is below the fold while the backdrop above and below is empty:

Usage modal in a 1080x1680 window, 960px tall with empty space above and below

Landscape window, 2560×1030, zoomed out to 80%. The modal is smaller and Grok is still cut off:

Usage modal zoomed out to 80 percent, smaller and still scrolling

Workaround

None. To show an agent my usage across providers I take several screenshots while scrolling.

主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
59 分钟
30 天内合并 PR
418

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

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

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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