0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Adjusted word breaking rules in editor

Fixes #427
- Removed break-all, which was causing excessive behaviour detailed in the issue
- Removed -webkit- hyphen prefix, as both Chrome and Safari are ignoring it
- Firefox is currently the only browser respecting hyphens, the others simply break without hyphenating
This commit is contained in:
John O'Nolan 2013-08-21 08:38:58 +02:00
parent 637679851b
commit 044cf21887

View file

@ -256,10 +256,8 @@
padding: 60px 40px 40px 40px;
overflow: auto;
// Breaking for long words in preview region
// Break long words to new line
word-break: break-word;
word-break: break-all;
-webkit-hyphens: auto;
hyphens: auto;
// Tweak padding for smaller screens