diff options
author | ansuz <ansuz@transitiontech.ca> | 2017-06-24 10:40:09 +0200 |
---|---|---|
committer | ansuz <ansuz@transitiontech.ca> | 2017-06-24 10:40:09 +0200 |
commit | b53763d06143a847d40cf4659b225f68688e6908 (patch) | |
tree | c3610cfc29cf309b5530bf57ac5b890b2a6f62df /static/styles.css | |
parent | fc0b1d482f93fc3a256667aa96843b4f0c0c4ecb (diff) | |
download | patchfoo-b53763d06143a847d40cf4659b225f68688e6908.tar.gz patchfoo-b53763d06143a847d40cf4659b225f68688e6908.zip |
more thorough break-word rules
Diffstat (limited to 'static/styles.css')
-rw-r--r-- | static/styles.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/styles.css b/static/styles.css index 1bf8b1c..ef3e308 100644 --- a/static/styles.css +++ b/static/styles.css @@ -27,7 +27,18 @@ section { } .ssb-post-text { + overflow-wrap: break-word; + word-wrap: break-word; + -ms-word-break: break-all; + /* This is the dangerous one in WebKit, as it breaks things wherever */ + word-break: break-all; + /* Instead use this non-standard one: */ word-break: break-word; + /* Adds a hyphen where the word breaks, if supported (No Blink) */ + -ms-hyphens: auto; + -moz-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; } img.ssb-emoji { |