Widget: make the chat window fit on small phones

Open Beginner friendly
#67 9 comments 0 reactions 0 assignees View on GitHub

@sethr07 is already working on this.

Since Nov 23, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

The fixed-width chat window is set in the small embed script public/widget.js and the widget page styles. Start by reading how the window width is applied, then check the layout at 375 pixels wide. Done when the window fits the phone screen with no horizontal overflow, desktop looks unchanged, open and close still work, and a test or screenshot covers the phone-width case.

Written by the indexing model from the issue text.

Description

enhancement frontend good first issue help wanted

Copied from DeadantCo/answerLoops#57 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/344 — originally opened by @NathanTarbert on 2026-10-08

The problem today

The chat window on a customer's website is a fixed width (about 380 pixels). On phones narrower than that, part of the window hangs off the edge of the screen and visitors can't reach the send button or close button.

What to change

On small screens (phone width), the chat window should fill the screen with no horizontal overflow. On larger screens nothing changes. The change lives in the small embed script (public/widget.js) and the widget page styles.

Done when

  • At 375 pixels wide the window fits the screen: nothing is cut off, and the close button, message list and send box are all reachable
  • On desktop the window looks exactly as it does today
  • Open and close still work on phone and desktop, and the page behind doesn't scroll sideways
  • A test or screenshot check covers the phone-width case

Good first issue

Small, self-contained and with no dependencies. Part of the chat widget work tracked in #333.

Sequencing: lands before #352 and #351, which touch the same panel code.

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DeadantCo/answerLoopsdev

All issues in DeadantCo/answerLoopsdev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.