Skip to content

Conversation

@jtemporal
Copy link

@jtemporal jtemporal commented Oct 28, 2025

Add classes to ensure code blocks scroll horizontally instead of overflowing their container, fixing text spilling outside boundaries on mobile and narrow viewports.

before:
Screenshot 2025-10-28 at 4 48 57 AM

now:
Screenshot 2025-10-28 at 4 49 20 AM

- Add overflow-x-auto and max-w-full classes to pre elements
- Add whitespace-pre and overflow-x-auto classes to code elements
- Ensures code blocks scroll horizontally instead of overflowing container
- Fixes text spilling outside boundaries on mobile/narrow viewports
Copilot AI review requested due to automatic review settings October 28, 2025 11:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes code block text overflow issues on mobile and narrow viewports by adding horizontal scrolling classes to three code blocks on the apps page.

  • Added max-w-full and overflow-x-auto to <pre> elements
  • Added block, whitespace-pre, and overflow-x-auto to <code> elements
  • Ensures code blocks scroll horizontally instead of breaking layout boundaries

@jtemporal jtemporal requested a review from Copilot October 28, 2025 11:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

@jtemporal jtemporal requested a review from Copilot October 28, 2025 11:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

@jtemporal jtemporal requested a review from Copilot October 28, 2025 12:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

@jtemporal jtemporal requested a review from Copilot October 28, 2025 12:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

@jtemporal jtemporal requested a review from Copilot October 28, 2025 12:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

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