Skip to content

Prevent module overflow by breaking long words in string value #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

n1c0de
Copy link
Contributor

@n1c0de n1c0de commented May 27, 2025

Adds the inline CSS rule word-break: break-all; to prevent overflow issues in the module when displaying long, unbroken string values.
With this change, excessively long words will automatically break and wrap to the next line, ensuring the layout remains stable and content stays readable.

Context

Previously, the module could overflow its container if a string value contained no spaces or was exceptionally long. This update addresses that issue by forcing long words to break and wrap as needed.

Copy link

vercel bot commented May 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-json-view ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2025 3:50pm

@Kikobeats Kikobeats merged commit b357174 into microlinkhq:master May 27, 2025
3 checks passed
@Kikobeats
Copy link
Member

Thanks!

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.

2 participants