#11167: style(chat): UI: add mobile layout for chat compose actions
app: web-ui
stale
size: XS
Cluster:
Web UI Enhancements and Fixes
- Stack chat compose row vertically on mobile (max-width: 640px)
- Change action buttons to vertical layout with full width
- Improve mobile UX for send and session control buttons
<img width="1548" height="414" alt="image" src="https://github.com/user-attachments/assets/e8c1877d-9ac6-443d-bc8b-f786502639b9" />
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR updates `ui/src/styles/chat/layout.css` to improve the chat compose area on small screens (`@media (max-width: 640px)`). On mobile it switches `.chat-compose__row` and `.chat-compose__actions` from horizontal to vertical flex layout, adds smaller gaps, and makes compose action buttons full-width to better fit narrow viewports. These styles layer on top of the existing desktop compose/controls flex layout rules defined earlier in the same stylesheet.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk.
- The change is confined to a small, well-scoped CSS media-query adjustment for mobile layout, with no functional logic changes and no evidence of breaking selectors or invalid CSS in the diff reviewed.
- No files require special attention
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#6521: fix: addressed style issue for chat compose and thread on mobile
by spencer-rafada · 2026-02-01
89.2%
#16593: fix: mobile compose row layout
by alewcock · 2026-02-14
84.3%
#9432: fix(ui): improve Firefox/Gecko compatibility for chat layout
by dbottme · 2026-02-05
77.5%
#9122: fix(webchat): constrain .chat-new-messages to button size
by ridermw · 2026-02-04
74.6%
#21940: style(layout): change content display to flex
by homfarnam · 2026-02-20
74.4%
#7528: feat: Adds slash command suggestions to chat
by JohnnyD1776 · 2026-02-02
73.7%
#9175: Fix: Constrain webchat 'New messages' icon size to prevent massive ...
by vishaltandale00 · 2026-02-04
73.2%
#18668: feat(ui/chat): chat UX overhaul
by jasonkneen · 2026-02-16
72.7%
#6812: fix(ui): make topbar height flexible to avoid header/title overlap
by x0m4ek · 2026-02-02
72.4%
#8342: Fix debug interface CSS layout issues
by Klopib · 2026-02-03
72.4%