Skip to content

Instantly share code, notes, and snippets.

@hansspiess
Created August 18, 2012 22:17
Show Gist options
  • Save hansspiess/3390133 to your computer and use it in GitHub Desktop.
Save hansspiess/3390133 to your computer and use it in GitHub Desktop.
Frontend: Prevent huge user generated strings from breaking the layout
.prevent-text-breakouts {
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment