diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2015-12-24 01:10:20 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2015-12-24 01:10:20 -0700 |
| commit | 13bbdfa3210a3fa6ed02ca4717c2975d7e08d0bd (patch) | |
| tree | 78a1b58a968bf2d210811a19a35b679958d54569 /data/styles/epub3.css | |
| parent | 267241a6b6ab76f743af0cff9b928c413fcf168f (diff) | |
use property word-wrap instead of word-break
Diffstat (limited to 'data/styles/epub3.css')
| -rw-r--r-- | data/styles/epub3.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/styles/epub3.css b/data/styles/epub3.css index 71b0e23..06cc161 100644 --- a/data/styles/epub3.css +++ b/data/styles/epub3.css @@ -244,8 +244,8 @@ h1, h2, h3, h4, h5, h6 { line-height: 1.4; /* or 1.2125 */ text-align: left; - -webkit-hyphens: none; /* disable hyphenation, such as in iBooks */ - word-break: break-word; /* force super-long words to break */ + -webkit-hyphens: none; /* disable hyphenation where supported (e.g., iBooks) */ + word-wrap: break-word; /* break in middle of long word if no other break opportunities are available */ /* avoiding page breaks does not seem to work in Kindle */ -webkit-column-break-inside: avoid; |
