[BUG] Desktop: plan approval card buttons wrap into a staircase

Open Beginner friendly
#110,835 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
61/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start by locating the plan approval card UI in the TypeScript codebase and inspect how its four buttons are grouped and laid out. Reproduce the wrap with a narrow card or the reported normal window width. Done when the buttons wrap as one group instead of splitting into a left and right staircase.

Written by the indexing model from the issue text.

Description

area:desktop area:ui bug platform:macos

Posted by Claude on behalf of Nischal

What's Wrong?

In the Code tab of Claude Desktop, the "Claude proposed a plan" card puts its four buttons on two rows. Reject and Revise... are on the first row, at the left. Accept and Accept and use auto mode (Cmd+Enter) are on the second row, at the right. The result is a staircase, and the main action is far from the other choices.

It looks like a wrapping row with the two button groups pinned to opposite ends. When the card is too narrow for both groups, the right group moves to a new line and stays right-aligned. The long "Accept and use auto mode" label makes this happen at a normal window width.

What Should Happen?

The four buttons stay together. If the card is too narrow for one row, they wrap as one group: for example, all right-aligned, or stacked with the main action first.

Steps to Reproduce
  1. Open a Code tab session in Claude Desktop at a normal window width, with the sidebar open.
  2. Ask Claude for a change in plan mode, so that it proposes a plan.
  3. Look at the buttons on the plan approval card.
Screenshot
Plan approval card with Reject and Revise on the first row and the Accept buttons on a second row
Environment
  • Claude Desktop 5.1231.2 (Code tab), Claude Code 2.1.144
  • macOS 15.6.1
  • Model: Opus 5.5
  • Regression: not known
Dominant language
TypeScript
Stars
156k
Forks
25k
Avg merge
12h 27m
Merged PRs (30d)
4

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anthropics/claude-code

All issues in anthropics/claude-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.