Skip to content

fix horizontal scrolling in chat - #430

Merged
deathbyknowledge merged 2 commits into
mainfrom
design/mobile-web
Oct 13, 2026
Merged

deathbyknowledge merged 2 commits into
mainfrom
design/mobile-web

Conversation

@deathbyknowledge

Copy link
Copy Markdown
Owner

Long URLs, unbroken text and wide tables could make the entire Chat transcript scroll sideways on mobile, leaving ordinary messages clipped after a horizontal swipe.

Keep the transcript vertical, wrap long text, and let wide tables scroll inside their own bounds. Code blocks retain their existing horizontal scrolling.

Validation:

  • Web typecheck and production build passed.
  • Documentation checks passed, including currency against main.
  • Chromium layout checks passed for 90 combinations of content, viewport width (320–1440px) and app zoom (1×, 1.5×, 2×). Vertical transcript scrolling and independent table/code scrolling were preserved.
  • iOS Safari still needs device verification.

The temporary comparison demo is not part of this change.

@deathbyknowledge

Copy link
Copy Markdown
Owner Author

@codex review Please check transcript overflow containment, long-text wrapping, and independent table/code scrolling across mobile widths and app zoom.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T11:13:25.109285Z 431d183 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 238ad7602e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

}
.zen-moments {
position: relative;
overflow-x: hidden;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the browse cursor when clipping transcript overflow

At narrow mobile widths or higher app zoom, this clips the focused-moment indicator because .zen-moment.is-focus::before is positioned 22px to the left of the moment while the moment has only a 4% side margin. For example, in the 320px layout the central column is about 284px wide, leaving an approximately 11px margin, so the cursor is entirely outside .zen-moments and becomes invisible in keyboard browse mode. Contain overflowing message content without clipping this intentional gutter affordance, or reposition the cursor inside the scrollport.

Useful? React with 👍 / 👎.

@github-actions
github-actions Bot temporarily deployed to gsv-preview-pr-430 October 13, 2026 10:57 Destroyed
@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Preview removed.

@deathbyknowledge

Copy link
Copy Markdown
Owner Author

@codex review Fixed the narrow-screen browse cursor gutter. The 90-case width/zoom matrix now also checks that the cursor remains fully visible and outside the text, while retaining vertical and independent code/table scrolling.

@github-actions
github-actions Bot temporarily deployed to gsv-preview-pr-430 October 13, 2026 11:12 Destroyed
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 431d1836e7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@deathbyknowledge
deathbyknowledge merged commit d6ac5b6 into main Oct 13, 2026
20 checks passed

This branch was successfully deployed

No deployments
gsv-preview-pr-430 — 431d1836 Deployed Oct 13, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant