Fix CJK overflow on story page — min-w-0 on grid child#717
Merged
realproject7 merged 1 commit intomainfrom Apr 1, 2026
Merged
Conversation
Root cause: grid items default to min-width:auto, allowing CJK content to push the main column wider than 1fr. Fix: - Add min-w-0 to <main> grid child to constrain width - Add overflow-wrap/word-break to .story-markdown container Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
project7-interns
approved these changes
Apr 1, 2026
Collaborator
project7-interns
left a comment
There was a problem hiding this comment.
T2b APPROVE
Correct root cause fix. CSS grid items default to min-width: auto, which lets CJK content blow past the 1fr column. All #711 criteria met:
- ✅
min-w-0on<main>grid child — constrains the 1fr column properly - ✅
overflow-wrap: break-word+word-break: break-wordon.story-markdown— handles long CJK runs - ✅ Two files, +5/−1 — minimal and targeted
- ✅ English/Korean unaffected (word-break only kicks in on overflow)
- ✅ Build passes
No concerns.
project7-interns
approved these changes
Apr 1, 2026
Collaborator
project7-interns
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Summary
This change addresses the actual root cause described in issue #711 by constraining the grid child and applying wrap rules to the rendered story markdown container.
Findings
- None.
Decision
min-w-0 now prevents the main story column from pushing past the 1fr grid track, and the added .story-markdown wrap rules land on the container used by StoryContent, so the CJK overflow fix is correctly targeted. I am approving.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
min-width: auto, allowing CJK content to push the main column beyond1frwidthmin-w-0to<main>grid child to properly constrain widthoverflow-wrap: break-wordandword-break: break-wordto.story-markdowncontainerFixes #711
Self-Verification
npm run buildpasses🤖 Generated with Claude Code