Widget: make the chat window fit on small phones
@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
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
@NathanTarberton 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
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetPossibly taken @sethr07 claimed this today. Openenhancement frontend help wanted
Difficulty 2/5 Half a day Newbie friendliness 75/100
DeadantCo/answerLoopsdev#68 · 3 comments ·
-
Add 'select all' option to Slack channel picker in SettingsPossibly taken @sethr07 claimed this today. Openfrontend good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DeadantCo/answerLoopsdev#22 · 5 comments ·
-
enhancement frontend help wanted
Difficulty 4/5 3-5 days Newbie friendliness 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Difficulty 4/5 3-5 days Newbie friendliness 45/100
DeadantCo/answerLoopsdev#140 ·
-
backend enhancement frontend help wanted notifications
Difficulty 4/5 3-5 days Newbie friendliness 42/100
DeadantCo/answerLoopsdev#139 ·
All issues in DeadantCo/answerLoopsdev
Similar issues
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100
lingdojo/kana-dojo#34545 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
blocklist addition
Difficulty 1/5 Under an hour Newbie friendliness 82/100
MetaMask/eth-phishing-detect#315455 ·
Maintainers usually reply within 1 day
-
area: telegram bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
griffinwork40/agent-afk#5275 ·
Maintainers usually reply within 1 day
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reachedOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getopenscreen/openscreen#1667 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
erkamyaman/rust-anything#371 ·
Maintainers usually reply within 1 day