Browse Source

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.
George Cushen 4 năm trước cách đây
mục cha
commit
e6dba41f3d
1 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 7 7
      wowchemy/assets/scss/wowchemy/_content.scss

+ 7 - 7
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 {