Closed Bug 2024411 Opened 5 months ago Closed 5 months ago

Constrain prompt bubble max width

Categories

(Core :: Machine Learning: Frontend, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: jlevinsohn, Assigned: mlucks)

References

Details

(Whiteboard: [genai][chat])

Attachments

(2 files)

Prompt (user message) bubble max width is too wide.

https://www.figma.com/design/Z5zZnnKuy7XGuYkwTblVo4/Smart-Window-MVP-%7C-UI---UX-Review?node-id=120-2364&t=Jmnlgx30dj7Qs5fd-4

  • In full-width chat:
    • Prompt bubble max width is 75% of the chat column
  • When sidebar is open:
    • Prompt bubble max width is 100% of the chat column
  • Bubble does not exceed defined max width in either layout
  • Text wraps correctly within constrained width
  • No change to padding, styling, or behavior
Whiteboard: [genai][chat]

FYI: QA pointed out the chat bubble also breaks for a very long URL, please check https://bugzilla.mozilla.org/show_bug.cgi?id=2023834

Per chats with UX, we are going to max-width at 75% for both fullscreen and sidebar

Assignee: nobody → mlucks
Pushed by csabou@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/db07171eed43 https://hg.mozilla.org/mozilla-central/rev/9310bd79c46f Reduce max-width and set overflow-wrap on chat-bubble-user - r=gcardieri,ai-frontend-reviewers
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: