mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03: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:
parent
a7f0fe093f
commit
e6937d189b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user