console: tabs don't scroll horizontally on mobile and push the Models page off screen

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

找到 Web 控制台的 Models 页面及其标签栏,然后检查控制移动设备上水平溢出的样式。先在 iPhone 尺寸的视口中使用 Safari 重现问题,并检查周围的布局,找出页面宽于屏幕的原因。完成标准是标签栏能在卡片内横向滚动,且页面内容保持在视口范围内。

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

描述

area/web platform/ios type/bug

Summary

On a phone, the tab bars on the console Models page don't scroll sideways. They grow to fit all their tabs, which makes the page wider than the screen and pushes the rest of the content out of view.

Environment

  • Page: https://opencode.ai/console/<workspace-id>/models
  • Device: iPhone 15 Pro
  • Browser: Safari (iOS)
  • Client: web console (not the app or CLI)

Reproduction

  1. Open https://opencode.ai/console/<workspace-id>/models in Safari on an iPhone 15 Pro.
  2. Look at the Models tab.

Expected Behavior

Tab bars that don't fit scroll sideways inside their own row. The rest of the page stays at the screen width.

Actual Behavior

  • The category tabs (Images, Voice, Transcription, Decisions, ...) don't scroll. They run past the right edge of the card.
  • Because of this the whole page is wider than the screen. The title, description, search field and model name column are cut off on the left.
  • In the table, only the Features and Enabled columns are visible. You can't tell which model a toggle belongs to.

Additional Context

image

主要语言
TypeScript
星标
230k
派生
31.3k
平均合并
5 小时 59 分钟
30 天内合并 PR
473

环境准备

从这里开始

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

anomalyco/opencode 的其他 Issue

查看 anomalyco/opencode 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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