Skip to content

[BUG]: Mobile prompt input buttons overflow on narrow viewports #11613

@athal7

Description

@athal7

Description

On mobile viewports (375px), the prompt input button bar overflows or clips buttons, making some controls inaccessible.

Affected buttons:

  • Agent selector (Build/Plan/Docs)
  • Model selector
  • Thinking variant selector
  • Context usage indicator
  • Attach file
  • Send/Stop

Fix

  • Use CSS contents pattern for responsive single-row layout on mobile
  • Replace thinking variant Button with Select dropdown
  • Hide text labels on mobile, show icons only
  • Fix model selector dialog centering and highlight state

Screenshots

See PR for before/after screenshots at 375px and 1280px viewports.

Operating System

iOS / Mobile browsers

OpenCode version

1.1.48

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions