浏览代码

Fixing undesirable word breaking in IE

break-all can't be desired behaviour..
Hlsgs 11 年之前
父节点
当前提交
f551e68e39
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      library/scss/partials/_typography.scss

+ 3 - 4
library/scss/partials/_typography.scss

@@ -63,10 +63,9 @@ some nice typographical defaults
 more here: http://www.newnet-soft.com/blog/csstypography
 */
 p {
-  -ms-word-break: break-all;
-  -ms-word-wrap: break-all;
-      word-break: break-word;
-     word-break: break-word;
+  -ms-word-wrap: break-word;
+  word-break: break-word; //non-standart css for webkit
+  word-wrap: break-word;
   // cleaning up the ragged lines and breaks
   -webkit-hyphens: auto;
      -moz-hyphens: auto;