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

Aberta
#36,133 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@craigcossairt já está trabalhando nisso.

Desde 13/11/2026.

  • #36136 de @craigcossairt — aberto

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Estagnada
Stack de tecnologia
typescript
Domínio
frontend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
24.8k
Forks
6.4k
Merge médio
59min
PRs com merge (30d)
418

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de pingdotgg/t3code

Todas as issues de pingdotgg/t3code

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.