Skip to content

[codex] Optimize mobile chat layout#123

Merged
verkyyi merged 1 commit intomainfrom
codex/mobile-chat-layout
Apr 26, 2026
Merged

[codex] Optimize mobile chat layout#123
verkyyi merged 1 commit intomainfrom
codex/mobile-chat-layout

Conversation

@verkyyi
Copy link
Copy Markdown
Owner

@verkyyi verkyyi commented Apr 26, 2026

Summary

  • Tighten mobile hero and chat panel spacing so the chatbot gets more viewport height.
  • Show only one suggestion chip on mobile and keep the input visible.
  • Remove the footer from mobile viewport layouts.
  • Add E2E coverage for mobile one-hint/no-overflow behavior.

Why

Mobile Safari on iPhone was still cramped after removing the avatar. The chat panel had a fixed message minimum height, multiple visible suggestion chips, and footer/hero chrome competing with the input area.

Validation

  • npm test -- src/__tests__/ChatPanel.test.tsx src/__tests__/Hero.test.tsx src/__tests__/App.test.tsx
  • npm run build
  • npx playwright test e2e/portfolio-layout.spec.ts
  • Manual mobile metrics at 390x844: one visible suggestion, no horizontal overflow, footer hidden, input visible at bottom.

@verkyyi verkyyi marked this pull request as ready for review April 26, 2026 01:22
@verkyyi verkyyi merged commit 4af2f92 into main Apr 26, 2026
1 check passed
@verkyyi verkyyi deleted the codex/mobile-chat-layout branch April 26, 2026 01:22
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