Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Widget: make the chat window fit on small phones

未关闭 适合新手
#344 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@anushreemehta6 已经在做这个了。

开始于 2026年10月9日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
82/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
css, javascript, typescript
领域
frontend, mobile

调研方向

从 public/widget.js 和 widget 页面样式入手,然后检查 widget 在桌面和手机屏幕宽度下如何打开和关闭。针对 375 像素的情况,验证是否存在溢出,以及能否访问关闭按钮、消息列表和发送框;添加测试或截图检查。完成标准是手机布局能够完整显示且页面无需横向滚动,同时桌面外观和打开/关闭行为保持不变。

由索引模型根据 Issue 内容生成。

描述

enhancement good first issue help wanted

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.

主要语言
TypeScript
星标
16
派生
2
平均合并
6 小时 28 分钟
30 天内合并 PR
167

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

answerLoops/answerLoops 的其他 Issue

查看 answerLoops/answerLoops 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。