Skip to content

fix: [Bug]: Latex render may exceed page size - #255

Open
webbrain-one wants to merge 1 commit into
ZL-Asica:mainfrom
webbrain-one:webbrain/issue-153
Open

fix: [Bug]: Latex render may exceed page size#255
webbrain-one wants to merge 1 commit into
ZL-Asica:mainfrom
webbrain-one:webbrain/issue-153

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #153

Patch generated by qwen3.6-35b-a3b via local API.

Apply width constraints to keep rendered content within viewport bounds. Fixes ZL-Asica#153.

Patch generated by qwen3.6-35b-a3b via local API.
Copilot AI lite review requested due to automatic review settings August 5, 2026 23:14
@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
suzu-blog Ready Ready Preview Aug 5, 2026 11:15pm

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 aims to fix reported mobile layout overflow (Issue #153) by adding global CSS that forces long Markdown/LaTeX content to wrap within the viewport.

Changes:

  • Added global word-wrapping rules intended to prevent Markdown/LaTeX overflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/app/globals.css
Comment on lines +30 to +35
/* Prevent markdown and LaTeX from overflowing the viewport */
.markdown-content,
.prose {
overflow-wrap: break-word;
word-break: break-word;
}
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.

[Bug]: Latex render may exceed page size

2 participants