Skip to content

Tighten mobile conversation gutters - #1382

Merged
philmerrell merged 1 commit into
developfrom
claude/mobile-conversation-padding-hf5b25
Sep 29, 2026
Merged

philmerrell merged 1 commit into
developfrom
claude/mobile-conversation-padding-hf5b25

Conversation

@philmerrell

Copy link
Copy Markdown
Contributor

Summary

On phones, three layers of side padding stacked up in a conversation:

  • the app shell's content box (px-4)
  • the full-page messages container (1rem each side)
  • the assistant card (px-4), whose background matches the page, so it read as empty margin

Assistant text ended up ~48px from the screen edge while the fixed composer sat at 16px.

Below the sm breakpoint (640px) this PR:

  • chat-container.component.css — drops the full-page messages container's side padding; restores 1rem from sm up.
  • message-list.component.html — assistant card goes from px-4 to px-0 sm:px-4.
  • chat-container.component.html — session skeleton px-4 → sm:px-4, so text doesn't shift when the conversation finishes loading.

Messages now align with the composer at the shell's 16px inset. Tablet/desktop layout is unchanged.

Testing

  • ng test over src/app/session/** and the root app specs: 94 files, 1248 tests passed.
  • Not yet checked on a real device.

🤖 Generated with Claude Code

https://claude.ai/code/session_017JvdS58zu1zVgJvH9U2ThE


Generated by Claude Code

On phones the app shell's px-4, the full-page messages container's 1rem
side padding, and the assistant card's px-4 stacked, putting assistant
text ~48px from the screen edge while the fixed composer sat at 16px.

Below sm, drop the messages container's side padding and the assistant
card's horizontal padding (the card's background matches the page, so
that padding was invisible spacing). Messages now line up with the
composer at the shell's 16px inset. The session skeleton gets the same
treatment. Desktop layout is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017JvdS58zu1zVgJvH9U2ThE
@philmerrell
philmerrell merged commit c1aa840 into develop Sep 29, 2026
7 checks passed
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.

2 participants