From e6dba41f3dfb81eeaef8546d5e50a864d53c3fe7 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 31 Oct 2020 18:36:16 +0000 Subject: [PATCH] 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. --- wowchemy/assets/scss/wowchemy/_content.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wowchemy/assets/scss/wowchemy/_content.scss b/wowchemy/assets/scss/wowchemy/_content.scss index fb63e33f..b1bc8558 100644 --- a/wowchemy/assets/scss/wowchemy/_content.scss +++ b/wowchemy/assets/scss/wowchemy/_content.scss @@ -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 {