Skip to content

Keep expanded mobile composer actions at full width - #4618

Merged
brsbl merged 1 commit into
mainfrom
bb/fix-mobile-mic-button-width
Oct 1, 2026
Merged

brsbl merged 1 commit into
mainfrom
bb/fix-mobile-mic-button-width

Conversation

@brsbl

@brsbl brsbl commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

On phones, the follow-up composer's action button squeezed to 16px wide once the composer expanded: the mic when the draft is empty, Send once text is typed, and Stop while a run is active. A compact-container rule in app.css sets padding: 0 on [data-promptbox-submit-action]. It used to sit next to width: 2rem; height: 2rem, which #4585 removed. The expanded variants size themselves with horizontal padding (px-2 / coarse px-3) rather than a fixed width, so with the padding zeroed they collapse to the 16px icon. The collapsed variants set p-0 and a fixed size themselves and never needed the rule.

What changed

  • apps/app/src/app.css: drop padding: 0 from the compact [data-follow-up-composer] [data-promptbox-submit-action] rule and keep margin-left: 0.
  • With this change, expanded phone actions are 40×40 again, matching the collapsed composer. Desktop and the new-thread composer are unchanged.

How you verified

  • Dev web app in headless Chrome for Testing (BB Browser Automation), 390×844 at 2×, touch emulation. Before is main at 2573ad5e8; after is this branch at 39097d801.
  • Measured the expanded composer's action button: mic 16×40 → 40×40, Send 16×40 → 40×40, Stop 16×40 → 40×40.
  • The Stop pair was captured during two separate runs, so the timelines differ; the composer state is the same.
State Before After
Expanded, empty draft (mic) Before: mic squeezed to 16px After: mic 40×40
Expanded, with text (Send) Before: Send squeezed to 16px After: Send 40×40
Expanded, run active (Stop) Before: Stop squeezed to 16px After: Stop 40×40

BB-Thread-ID: thr_nefp8h4g4r

AGENT GENERATED

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T14:31:51.196228Z 39097d8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@brsbl
brsbl merged commit e01b1c5 into main Oct 1, 2026
32 of 33 checks passed
@brsbl
brsbl deleted the bb/fix-mobile-mic-button-width branch October 1, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant