Long unbroken text – a URL, a technical string, an error code – can bleed outside its card or container instead of wrapping.
⚡ Quick Fix (TL;DR)
The Culprit: A long word or URL has no natural space for the browser to wrap at, so it just keeps going past the container edge.
The Fix: Allow the browser to break long words mid-word when necessary, rather than only at spaces.
.my-container {
overflow-wrap: break-word;
} Was this helpful? Thanks for the feedback!
Tagged in :