feat: reduce wordwrap hyphenation

The strategy appeared to affect hyphenation in inline code blocks.

Reduce wordwrap hyphenation, similar to wordwrap on blogging platforms like Medium etc.
This commit is contained in:
George Cushen 2020-10-31 18:36:16 +00:00
commit e6dba41f3d

View file

@ -137,17 +137,17 @@ article .article-metadata {
@mixin word-wrap() {
// Break very long words such as pasted URL strings.
overflow-wrap: break-word;
//overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
//-ms-word-break: break-all;
//word-break: break-all;
word-break: break-word;
// Add a hyphen where the word breaks, if supported (No Blink).
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
//-ms-hyphens: auto;
//-moz-hyphens: auto;
//-webkit-hyphens: auto;
//hyphens: auto;
}
.article-style {