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:
parent
637679851b
commit
044cf21887
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue