CodeHerderSearch⌘KCtrl KGet started →

A control that is cut off on a phone

File the button or menu that gets clipped on a narrow screen, and get it fixed.

The brief

Copy this text as it is, or change the specifics to match your own case, then file it as a task.

Copy this and file it as a task

On a phone, one of the buttons near the top of the screen gets cut off and I can't tap the whole thing. It works fine on a laptop. Please find why it happens at narrow widths and fix it so the whole control is genuinely visible and tappable on a phone screen, rather than squeezed to fit.

The done checks

Paste these lines into the Acceptance criteria field of the task. Change them to match your own case.

Copy this into Acceptance criteria

- [ ] The control is fully visible on a phone-width screen
- [ ] The whole control is tappable, edge to edge
- [ ] The desktop layout looks the same as before

Why this works

It names one control, one screen size, one visible symptom. An agent can reproduce it at a phone width and knows exactly what fixed looks like: the control fits and still works.

Plan, code, review, merge, verify

  1. plan

    Reproduces the cutoff at a phone-sized viewport and checks whether the whole row runs out of room or just this one control.

  2. code

    Reworks the layout so the control fits at narrow widths, and adds a check that keeps the fit from breaking again later.

  3. review

    Checks the fix against the component's existing tests and against the exact width where the cutoff was reported.

  4. merge

    Merges the change once checks pass. It is sized to just this one control.

  5. verify

    Confirms the control is fully visible and tappable at phone width, and that nothing else moved.

What you need on hand

  • The page or screen where the control lives
  • A phone, or a browser window resized narrow, to show the cutoff
  • Optional: an approval gate, if you want to check it on a phone before it merges

Done when

  • The control is fully visible on a phone-width screen
  • The whole control is tappable, edge to edge
  • The desktop layout looks the same as before

Proof, not a promise

A real task: filed, then merged. A cut-off dropdown arrow that turned out to hide the whole profile menu →

Try it on one repository for two weeks.

File a task. An agent builds it. You see the cost of each task.

Try "pricing", "connect a device", or "who reviews the code"

↑↓ move · ↵ open · esc close